示例#1
0
 public static Color fillColor;      //
 public Form1()
 {
     InitializeComponent();
     primitive = new Pencil(DrawPanel.CreateGraphics());
     p         = new Pen(Color.Black, (float)trackBarThickness.Value);
     fillColor = Color.Black;
     // buttonInvert.Click += MakeWork;
 }
示例#2
0
 private void radioButtonLine_CheckedChanged(object sender, EventArgs e)
 {
     primitive = new Line(DrawPanel.CreateGraphics());
 }