public FormEdited(FormMain fm) { InitializeComponent(); _controller = new GraphicsController(Resizer, OnPaint); fm.GetListener(Redraw, false); SetStyle(ControlStyles.DoubleBuffer | ControlStyles.UserPaint, true); }
public FormOriginal(FormMain mainform) { InitializeComponent(); _controller = new GraphicsController(Resizer, OnPaint); mainform.GetListener(Redraw, true); SetStyle(ControlStyles.DoubleBuffer | ControlStyles.UserPaint, true); }