Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void
예제 #1
0
 public void ShowPreferencesEditor()
 {
     PreferencesEditor prefsEditor = new PreferencesEditor(_agsEditor.Preferences);
     if (prefsEditor.ShowDialog() == DialogResult.OK)
     {
         _agsEditor.Preferences.SaveToRegistry();
         //_mainForm.SetProjectTreeLocation(_agsEditor.Preferences.ProjectTreeOnRight);
     }
     prefsEditor.Dispose();
 }