static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            splashForm      = new SplashForm();
            startForm       = new StartForm();
            selectForm      = new SelectForm();
            productInfoForm = new ProductInfoForm();
            orderForm       = new OrderForm();

            Application.Run(splashForm);
        }
示例#2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // instantiate all forms

            splashForm = new SplashForm();
            startForm  = new StartForm();

            selectForm      = new SelectForm();
            productInfoForm = new ProductInfoForm();
            orderForm       = new OrderForm();
            aboutForm       = new AboutForm();
            product         = new Product();

            Application.Run(aboutForm);
        }
示例#3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // create
            splashForm       = new SplashForm();
            selectedProduct  = new Product();
            startForm        = new StartForm();
            selectForm       = new SelectForm();
            productInfoForm  = new ProductInfoForm();
            orderForm        = new OrderForm();
            aboutBoxForm     = new AboutBoxForm();
            printMessageBox  = new PrintMessageBox();
            finishMessageBox = new FinishMessageBox();


            Application.Run(splashForm);
        }