static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); MainForm frame = new MainForm(); RefereeCV3.handler.HandlerForm h = new handler.HandlerForm(frame); Application.Run(frame); }
public HandlerForm(MainForm mainForm) { instance = this; this.frame = mainForm; output = new Output(frame); menuBar = new MenuBar(frame); tabControl = new HandlerTab(frame); frame.init(); }
public HandlerTab(MainForm form) { this.myframe = form; instance = HandlerForm.Instance; tabControl = new TabControl(); tabControl.Location = new Point(0, instance.MenuBar.Height); tabControl.Controls.Add(new TabPage("test")); myframe.Controls.Add(tabControl); }
public void init() { instance = HandlerForm.Instance; instance.Reform(); }