Esempio n. 1
0
 private void btnScribble_Click(object sender, EventArgs e)
 {
     canvasView1.Canvas.Tool = ToolFactory.GetInstance<Pencil>();
 }
Esempio n. 2
0
 private void btnSelection_Click(object sender, EventArgs e)
 {
     canvasView1.Canvas.Tool = ToolFactory.GetInstance<SelectionTool>();
 }
Esempio n. 3
0
 private void btnMagnifier_Click(object sender, EventArgs e)
 {
     canvasView1.Canvas.Tool = ToolFactory.GetInstance<MagnifierTool>();
 }
Esempio n. 4
0
 private void btnEraser_Click(object sender, EventArgs e)
 {
     canvasView1.Canvas.Tool = ToolFactory.GetInstance<Eraser>();
 }
Esempio n. 5
0
 private void btnOctagon_Click(object sender, EventArgs e)
 {
     canvasView1.Canvas.Tool = ToolFactory.GetInstance<Octagon>();
 }
Esempio n. 6
0
 private void btnParallelogram_Click(object sender, EventArgs e)
 {
     canvasView1.Canvas.Tool = ToolFactory.GetInstance<Parallelogram>();
 }
Esempio n. 7
0
 private void btnRectangle_Click(object sender, EventArgs e)
 {
     canvasView1.Canvas.Tool = ToolFactory.GetInstance<CourseProject.Gfx.Rectangle>();
 }
Esempio n. 8
0
 private void btnTriangle_Click(object sender, EventArgs e)
 {
     canvasView1.Canvas.Tool = ToolFactory.GetInstance<Triangle>();
 }