private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var args = Environment.GetCommandLineArgs(); var controller = new SingleInstanceController(); try { controller.Run(args); } catch (NoStartupFormException) { } catch (Exception e) { FrmExceptionDialog.ShowException(e); } }
private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var args = Environment.GetCommandLineArgs(); var controller = new SingleInstanceController(); try { controller.Run(args); } catch (NoStartupFormException) { } catch (Exception e) { FrmExceptionDialog.ShowException(e); } }