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(); }
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(); }
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(); }