BitServer.frmSettings.Dispose C# (CSharp) Method

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

Usage Example

Example #1
0
        protected static void Settings_Click(object sender, EventArgs e)
        {
            var f = new frmSettings(BS);

            if (f.ShowDialog() == DialogResult.OK)
            {
                storeBS(f.BS);
            }
            f.Dispose();
        }
All Usage Examples Of BitServer.frmSettings::Dispose