コード例 #1
0
ファイル: Sequre.cs プロジェクト: osherz/OZ.Games.Shapes
 protected override void Draw(Graphics g)
 {
     g.DrawRectangle(Pen, Rectangle.Round(Rect));
 }
コード例 #2
0
ファイル: Sequre.cs プロジェクト: osherz/OZ.Games.Shapes
 protected override void DrawFill(Graphics g)
 {
     g.FillRectangle(new SolidBrush(Color), Rectangle.Round(Rect));
 }