iSpyApplication.MainForm.OnClosed C# (CSharp) Method

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e EventArgs
return void
        protected override void OnClosed(EventArgs e)
        {
            try
            {
                notifyIcon1.Visible = false;

                notifyIcon1.Icon.Dispose();
                notifyIcon1.Dispose();
            }
            catch
            {
                // ignored
            }
            base.OnClosed(e);
        }
MainForm