protected Dispose ( bool isDisposing ) : void | ||
isDisposing | bool | |
return | void |
/// <summary> /// Run the CmisSync user interface. /// </summary> public void Run () { try { Application.Run (StatusIcon = new StatusIcon ()); } finally { StatusIcon.Dispose (); } }
/// <summary> /// Run the CmisSync user interface. /// </summary> public void Run() { try { Application.Run(StatusIcon = new StatusIcon()); } finally { StatusIcon.Dispose(); } }
/// <summary> /// Run the CmisSync user interface. /// </summary> public void Run() { Application.ThreadException += delegate(Object sender, ThreadExceptionEventArgs args) { Logger.Fatal("UI Exception occured", args.Exception); Environment.Exit(-1); }; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); AppDomain.CurrentDomain.UnhandledException += delegate(Object sender, UnhandledExceptionEventArgs args) { Logger.Fatal(string.Format("Unhandled Exception occured on object {0}", args.ExceptionObject.ToString())); }; Application.Run(StatusIcon = new StatusIcon()); StatusIcon.Dispose(); }
/// <summary> /// Run the CmisSync user interface. /// </summary> public void Run() { Application.Run(StatusIcon = new StatusIcon()); StatusIcon.Dispose(); }
/// <summary> /// Run the CmisSync user interface. /// </summary> public void Run() { Application.ThreadException += delegate(Object sender, ThreadExceptionEventArgs args) { Logger.Fatal("UI Exception occured", args.Exception); Environment.Exit(-1); }; Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException); AppDomain.CurrentDomain.UnhandledException += delegate(Object sender, UnhandledExceptionEventArgs args) { Logger.Fatal(string.Format("Unhandled Exception occured on object {0}", args.ExceptionObject.ToString())); }; Application.Run(StatusIcon = new StatusIcon()); StatusIcon.Dispose(); }
/// <summary> /// Run the CmisSync user interface. /// </summary> public void Run () { Application.Run (StatusIcon = new StatusIcon ()); StatusIcon.Dispose (); }