示例#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);
 }
示例#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();
        }
示例#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);
        }
示例#4
0
 public void init()
 {
     instance = HandlerForm.Instance;
     instance.Reform();
 }