Esempio n. 1
0
        static void Main(string[] args)
        {
            string steExecutableSender = "RetailPlus.exe";

            if (args.Length > 0)
            {
                steExecutableSender = args[0].Trim();

                if (steExecutableSender != "RetailPlus.exe" && steExecutableSender != "RestoPlus.exe")
                    steExecutableSender = "RetailPlus.exe";
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            MainWnd appmain = new MainWnd();
            appmain.ExecutableSender = steExecutableSender;
            Application.Run(appmain);
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            string steExecutableSender = "RetailPlus.exe";

            if (args.Length > 0)
            {
                steExecutableSender = args[0].Trim();

                if (steExecutableSender != "RetailPlus.exe" && steExecutableSender != "RestoPlus.exe")
                {
                    steExecutableSender = "RetailPlus.exe";
                }
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            MainWnd appmain = new MainWnd();

            appmain.ExecutableSender = steExecutableSender;
            Application.Run(appmain);
        }