Dispose() protected method

Dispose of the status icon GUI elements.
protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Run the CmisSync user interface.
 /// </summary>
 public void Run ()
 {
     try {
     Application.Run (StatusIcon = new StatusIcon ());
     } finally {
     StatusIcon.Dispose ();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Run the CmisSync user interface.
 /// </summary>
 public void Run()
 {
     try {
         Application.Run(StatusIcon = new StatusIcon());
     } finally {
         StatusIcon.Dispose();
     }
 }
Ejemplo n.º 3
0
 /// <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();
 }
Ejemplo n.º 4
0
Archivo: UI.cs Proyecto: sunxk/CmisSync
 /// <summary>
 /// Run the CmisSync user interface.
 /// </summary>
 public void Run()
 {
     Application.Run(StatusIcon = new StatusIcon());
     StatusIcon.Dispose();
 }
Ejemplo n.º 5
0
 /// <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();
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Run the CmisSync user interface.
 /// </summary>
 public void Run ()
 {
     Application.Run (StatusIcon = new StatusIcon ());
     StatusIcon.Dispose ();
 }