コード例 #1
0
ファイル: Program.cs プロジェクト: marioricci/erp-luma
        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);
        }
コード例 #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);
        }