public ControlDrawing(GraphicsResources res) { this.res = res; }
static void DrawCutLine(Graphics g, int x1, int x2, int y, GraphicsResources res) { g.DrawLine(res.CutLinePen, x1, y - 1, x2, y - 1); g.DrawLine(res.CutLinePen, x1 + 2, y, x2 + 1, y); }
public ControlDrawing(GraphicsResources res, IViewModel viewModel) { this.res = res; this.viewModel = viewModel; }