public MainForm(Configuration config) { this.config = config; this.Title = DEFAULT_TITLE; this.ClientSize = new Size(1000, 600); this.MinimumSize = new Size(640, 400); this.Style = "mainForm"; top = new TopSection(config); CreateActions(); Content = top; }
public MainForm(Configuration config) { this.config = config; this.Title = DEFAULT_TITLE; this.ClientSize = new Size(1000, 600); this.MinimumSize = new Size(640, 400); this.Style = "mainForm"; top = new TopSection(config); CreateActions(); this.AddDockedControl(top); HandleEvent(ShownEvent); }