CmisSync.StatusIcon.Dispose C# (CSharp) Method

Dispose() protected method

Dispose of the status icon GUI elements.
protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void
        protected override void Dispose(bool isDisposing)
        {
            if (isDisposing)
            {
                // Release the icon resource.
                this.trayicon.Dispose();
            }

            base.Dispose(isDisposing);
        }

Usage Example

Beispiel #1
0
 /// <summary>
 /// Run the CmisSync user interface.
 /// </summary>
 public void Run ()
 {
     try {
     Application.Run (StatusIcon = new StatusIcon ());
     } finally {
     StatusIcon.Dispose ();
     }
 }
All Usage Examples Of CmisSync.StatusIcon::Dispose