protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Результат | void |
/// <summary> /// Shut down the form and destroy the object. /// </summary> public void Deactivate() { myForm.Close(); myForm.Dispose(); myForm = null; }