public void DisplayCase(Graphics g) { SolidBrush brush = new SolidBrush(this.Color); this.p = new Pen(Color.Black, 1); g.FillRectangle(brush, this.Rect); g.DrawRectangle(p, this.Rect); if (this.Cross) { this.DisplayCross(g, this.X, this.Y); } }