Beispiel #1
0
 private void SnesPresetEditor_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         if (wasCompressed)
         {
             game.Compress();
         }
     }
     catch (Exception ex)
     {
         Tasks.ErrorForm.Show(this, ex);
     }
 }
 private void SnesPresetEditor_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         if (wasCompressed)
         {
             game.Compress();
         }
     }
     catch (Exception ex)
     {
         Debug.WriteLine(ex.Message + ex.StackTrace);
         MessageBox.Show(this, ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }