Ejemplo n.º 1
0
 public static void Mc_RightClick(MObject mo)
 {
     if (mo.OwnerID.Equals(Globals.UserAccount.UserID))
     {
         ProductInfoForm form = new ProductInfoForm();
         form.Setup(mo);
         form.Show(Globals.GUIThreadOwner);
     }
 }
Ejemplo n.º 2
0
        public static void Mc_DoubleClick(MObject mo)
        {
            if (string.IsNullOrEmpty((string)mo.Tag))
            {
                return;
            }
            MMessageBus.Status(null, "Opening:" + mo.Tag);
            ProductInfoForm form = new ProductInfoForm();

            form.Setup(mo, true);
            form.Show(Globals.GUIThreadOwner);
        }
Ejemplo n.º 3
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     product         = new Product();
     splashScreen    = new SplashScreen();
     startForm       = new StartForm();
     selectForm      = new SelectForm();
     productInfoForm = new ProductInfoForm();
     orderForm       = new OrderForm();
     aboutForm       = new AboutForm();
     Application.Run(splashScreen);
 }
Ejemplo n.º 4
0
 static void Main()
 {
     //instantiate all forms here
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     startForm       = new StartForm();
     splashForm      = new SplashForm();
     selectForm      = new SelectForm();
     orderForm       = new OrderForm();
     productInfoForm = new ProductInfoForm();
     aboutForm       = new AboutForm();
     product         = new Product();
     Application.Run(splashForm);
 }
Ejemplo n.º 5
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            product = new Product();
            //This intializes each of the forms
            splashScreenForm = new SplashScreenForm();
            startForm        = new StartForm();
            selectForm       = new SelectForm();
            productInfoForm  = new ProductInfoForm();
            orderForm        = new OrderForm();
            aboutForm        = new AboutForm();

            //Runs the Splash Screen First
            Application.Run(new SplashScreenForm());
        }
Ejemplo n.º 6
0
        public static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            splashScreenForm        = new SplashScreenForm();
            startForm               = new StartForm();
            selectForm              = new SelectForm();
            productInfoForm         = new ProductInfoForm();
            orderForm               = new OrderForm();
            dollarComputersAboutBox = new DollarComputersAboutBox();

            product = new Product();

            Application.Run(new SplashScreenForm());
        }