Sudoku.Form1.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

Ejemplo n.º 1
0
 //wipe old gui and restart. it is easier than trying to carefully clear what the user is already done with.
 internal void rebuild()
 {
     gui.Dispose();
     build();
     gui.setInputNumber(inputNumber);
 }
Form1