square.vb

来自「Programming the .NET Compact Framework w」· VB 代码 · 共 24 行

VB
24
字号
' Square.vb - Elements of a game square.
'
' Code from _Programming the .NET Compact Framework with C#_
' and _Programming the .NET Compact Framework with VB_
' (c) Copyright 2002-2003 Paul Yao and David Durant. 
' All rights reserved.
Imports System.Drawing

Public Structure Square
   ' Coordinate of main rectangle.
   Public rcMain As Rectangle
   Public iOwner As Integer

   ' Hit-rectangles of four edges of main rectangle.
   Public rcTop As Rectangle
   Public bTop As Boolean
   Public rcRight As Rectangle
   Public bRight As Boolean
   Public rcBottom As Rectangle
   Public bBottom As Boolean
   Public rcLeft As Rectangle
   Public bLeft As Boolean
End Structure

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?