Exemplo n.º 1
0
        static void ApplicationLaunch()
        {
            Application.DoEvents();

              using (MainForm form = new MainForm(config))
              {
            form.Show();

            form.InitializeGraphics();
            form.InitVMR9(StartUp.filename);
            form.Focus();
            Application.Run(form);
              }
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            // Enable XP style controls
              Application.EnableVisualStyles();
              Application.DoEvents();

              using(MainForm form = new MainForm())
              {
            if (args.Length > 0)
              form.filename = args[0];

            form.Show();
            form.OpenClip();

            Application.Run(form);
              }
        }