Esempio n. 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            CenterControl centerControl;

            centerControl = new CenterControl();

            Application.Run(centerControl.form);
        }
Esempio n. 2
0
        static void Main()
        {
            CenterControl cc;

            try
            {
                cc = new CenterControl();
            }
            catch
            {
                return;
            }

            Form1 Form1 = new Form1(new CenterControlGUIMessage(cc));

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run();
        }
Esempio n. 3
0
 public CenterControlGUIMessage(CenterControl cc)
 {
     this.cc = cc;
 }