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