Esempio n. 1
0
        static int Main(string[] args)
        {
            var options = new Options();
            var parser  = new CommandLine.Parser(with => with.HelpWriter = Console.Error);

            if (parser.ParseArgumentsStrict(args, options, () => Environment.Exit(-2)))
            {
                if (options.type == "COMMI")
                {
                    dhqh_commition dhqh = new dhqh_commition();
                    dhqh.run();
                    return(0);
                }
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Main());

            return(0);
        }
Esempio n. 2
0
        private void btnDhqhCommition_Click(object sender, EventArgs e)
        {
            dhqh_commition dhqh = new dhqh_commition();

            dhqh.run();
        }