private void btnScribble_Click(object sender, EventArgs e) { canvasView1.Canvas.Tool = ToolFactory.GetInstance<Pencil>(); }
private void btnSelection_Click(object sender, EventArgs e) { canvasView1.Canvas.Tool = ToolFactory.GetInstance<SelectionTool>(); }
private void btnMagnifier_Click(object sender, EventArgs e) { canvasView1.Canvas.Tool = ToolFactory.GetInstance<MagnifierTool>(); }
private void btnEraser_Click(object sender, EventArgs e) { canvasView1.Canvas.Tool = ToolFactory.GetInstance<Eraser>(); }
private void btnOctagon_Click(object sender, EventArgs e) { canvasView1.Canvas.Tool = ToolFactory.GetInstance<Octagon>(); }
private void btnParallelogram_Click(object sender, EventArgs e) { canvasView1.Canvas.Tool = ToolFactory.GetInstance<Parallelogram>(); }
private void btnRectangle_Click(object sender, EventArgs e) { canvasView1.Canvas.Tool = ToolFactory.GetInstance<CourseProject.Gfx.Rectangle>(); }
private void btnTriangle_Click(object sender, EventArgs e) { canvasView1.Canvas.Tool = ToolFactory.GetInstance<Triangle>(); }