private void OnExit(object sender, FormClosingEventArgs e)
 {
     SaveChanges();
     SceneData.CleanData();
     Dispose();
 }
Esempio n. 2
0
 /// <summary>
 /// Close and clean data.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnClose(object sender, FormClosingEventArgs e)
 {
     SceneData.CleanData();
 }