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
コード例 #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);
 }