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); } }
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); }
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); }
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); }
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()); }
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()); }