Exemple #1
0
        static void Main(string[] args)
        {
            if (args.Length <= 0)
            {
                return;
            }
            BuildCommandLine cmd = new BuildCommandLine(args);

            if (!cmd.Parse())
            {
                MessageBox.Show(cmd.Error.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmMain(cmd));
        }
Exemple #2
0
        public frmMain(BuildCommandLine cmdLine)
        {
            InitializeComponent();

            this.CommandLine = cmdLine;
        }