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