Esempio n. 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     MainForm frame = new MainForm();
     RefereeCV3.handler.HandlerForm h = new handler.HandlerForm(frame);
     Application.Run(frame);
 }
Esempio n. 2
0
        public HandlerForm(MainForm mainForm)
        {
            instance = this;
            this.frame = mainForm;
            output = new Output(frame);
            menuBar = new MenuBar(frame);
            tabControl = new HandlerTab(frame);

            frame.init();
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
 public void init()
 {
     instance = HandlerForm.Instance;
     instance.Reform();
 }