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