public MainForm(MainFormIOController IOController, MainFormCollection Collection) { this.IOController = IOController; this.collection = Collection; InitializeComponent(); SetupHeader(this.IOController.FormTitle); this.IOController.SetAssociatedForm(this); IOController.SetupControls(); Resize += CustomOnResize; ResizeEnd += CustomEndResize; FormClosed += MainForm_FormClosed; IOController.MainPanel.Click += MainPanel_Click; }
public DragDropController(MainFormCollection Collection) { this.DoubleBuffered = true; this.collection = Collection; LinkFormsToStartDragDrop(); }