Ejemplo n.º 1
0
        static int Main(string[] args)
        {
            TypeHelper.InvokeFutureStaticMethod(typeof(Application), "EnableVisualStyles");
            Application.DoEvents();
            using (MbUnitForm form = new MbUnitForm())
            {
                form.ParseArguments(args);
                Thread thread = new Thread(new ThreadStart(form.ExecuteArguments));
                thread.Start();
                System.Windows.Forms.Application.Run(form);
            }

            return(100);
        }
Ejemplo n.º 2
0
		static int Main(string[] args) 
		{
            TypeHelper.InvokeFutureStaticMethod(typeof(Application), "EnableVisualStyles");
			Application.DoEvents();
            using (MbUnitForm form = new MbUnitForm())
            {
                form.ParseArguments(args);
                Thread thread = new Thread(new ThreadStart(form.ExecuteArguments));
                thread.Start();
                System.Windows.Forms.Application.Run(form);
            }

            return 100;
        }