コード例 #1
0
 // Sets current tool to the small tool
 private void smallToolStripMenuItem_Click(object sender, EventArgs e)
 {
     tool = null;
     tool = new SmallTool();
 }
コード例 #2
0
 // Sets current tool to the medium tool
 private void mediumToolStripMenuItem_Click(object sender, EventArgs e)
 {
     tool = null;
     tool = new MediumTool();
 }
コード例 #3
0
 // Sets current tool to the floodtool
 private void fillToolStripMenuItem_Click(object sender, EventArgs e)
 {
     tool = null;
     tool = new FloodTool();
 }