public PaintHandlerForm(MainForm MF) { this.MF = MF; InitializeComponent(); animator1 = new Animator(); //this.MF.DockContainer01Panel. this.MouseEnter += new EventHandler(PaintHandlerForm_MouseEnter); this.FormClosing += new FormClosingEventHandler(PaintHandlerForm_FormClosing); this.drawingCanvas1.MouseMove += new MouseEventHandler(drawingCanvas1_MouseMove); this.drawingCanvas1.MouseClick += new MouseEventHandler(drawingCanvas1_MouseClick); this.Shown += new EventHandler(PaintHandlerForm_Shown); }
public NewPaintForm(MainForm MF) { this.MF = MF; PHF = new PaintHandlerForm(MF); InitializeComponent(); }
public void SetMainForm(MainForm MF) { this.MF = MF; }