square.cs
来自「windows mobile 开发实例wi ndows mobile 开发实例」· CS 代码 · 共 29 行
CS
29 行
// Square.cs - 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-2004 Paul Yao and David Durant.
// All rights reserved.
using System;
using System.Drawing;
namespace JaspersDots
{
public struct Square
{
// Coordinate of main rectangle.
public Rectangle rcMain;
public int iOwner;
// Hit-rectangles of four edges of main rectangle.
public Rectangle rcTop;
public bool bTop;
public Rectangle rcRight;
public bool bRight;
public Rectangle rcBottom;
public bool bBottom;
public Rectangle rcLeft;
public bool bLeft;
} // struct Square
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?