Exemplo n.º 1
0
 private void toolStripDropDownButton1_Click(object sender, EventArgs e)
 {
     squareBtn.BackColor = Color.Aqua;
     ResetBtns(squareBtn);
     mod = Mod.Square;
     if (dialog != null)
     {
         dialog.Dispose();
     }
     dialog = new SizeDialog("square");
     dialog.Show();
 }
Exemplo n.º 2
0
 private void toolStripButton3_Click(object sender, EventArgs e)
 {
     circleBtn.BackColor = Color.Aqua;
     ResetBtns(circleBtn);
     mod = Mod.Circle;
     if (dialog != null)
     {
         dialog.Dispose();
     }
     dialog = new SizeDialog("circle");
     dialog.Show();
 }
Exemplo n.º 3
0
 private void RotateBtn_Click(object sender, EventArgs e)
 {
     RotateBtn.BackColor = Color.Aqua;
     ResetBtns(RotateBtn);
     mod = Mod.Rotate;
     if (dialog != null)
     {
         dialog.Dispose();
     }
     dialog = new SizeDialog("rotate");
     dialog.Show();
 }