static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); using (MainForm form = new MainForm()) { Application.Run(form); } }
static void Main() { Application.EnableVisualStyles(); Application.DoEvents(); using(MainForm form = new MainForm()) { Application.Run(form); } }
static void ApplicationLaunch() { Application.DoEvents(); using (MainForm form = new MainForm(config)) { form.Show(); form.InitializeGraphics(); form.InitVMR9(StartUp.filename); form.Focus(); Application.Run(form); } }
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); } }
static void Main() { using (MainForm form = new MainForm()) { Application.Run(form); } }