예제 #1
0
 // draw square at point
 private void squareToolStripMenuItem_Click(object sender, EventArgs e)
 {
     current = square;
 }
예제 #2
0
 /// <summary>
 /// Grouping of all the menu button functionality, they switch the current shape to be a different one
 /// </summary>
 
 // rectangle click and hold functionality
 private void rectangleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     current = rect;
 }
예제 #3
0
 // draw circle at point
 private void circleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     current = circ;
 }
예제 #4
0
 private void scribbleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     current = scribble;
 }