public GraphRedactor(int width, int height, DrawingCanvas drawingCanvas) { graphData = new GraphData(width, height, drawingCanvas); Uploader = new Uploader(); ToolPicker = new ToolPicker(); BrushPicker.AddBrush(new LinesBrush()); BrushPicker.AddBrush(new SolidBrush()); BrushPicker.AddBrush(new CrossBrush()); BrushPicker.AddBrush(new SecondLinesBrush()); PenPicker.AddPen(new DashPen()); PenPicker.AddPen(new SolidPen()); PenPicker.AddPen(new DashDotDotPen()); }