public OverviewController(Form parent) { this.parent = parent; this.planningSubForm = new Automat.View.Overview.PlanningSubForm(this); this.overviewForm = new OverviewForm(this, this.planningSubForm); this.RefreshDossierList(false); }
/* COMMON CONSTRUCTOR */ public OverviewForm(OverviewController overviewController, PlanningSubForm planningSubForm) { this.overviewController = overviewController; this.InitializeComponent(); this.toolStripStatusLabel1.Text = "Ready"; this.binding1 = new BindingSource(); this.bindingEvents = new BindingSource(); planningSubForm.TopLevel = false; planningSubForm.Dock = DockStyle.Fill; this.panel1.Controls.Add(planningSubForm); planningSubForm.Show(); this.planningSubForm = planningSubForm; }