예제 #1
0
        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;
        }
예제 #2
0
 public DragDropController(MainFormCollection Collection)
 {
     this.DoubleBuffered = true;
     this.collection     = Collection;
     LinkFormsToStartDragDrop();
 }