Exemple #1
0
 private void Main_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (_ProjectManager != null)
     {
         _ProjectManager.CleanTempFolder();
     }
 }
 public override void OpenPluginMenu()
 {
     Sm4shProject.CleanTempFolder();
     if (LaunchForm())
     {
         SavePlugin();
     }
     Sm4shProject.CleanTempFolder();
 }
Exemple #3
0
 private void Main_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (_CurrentBackgroundInstance == null || MessageBox.Show(UIStrings.INFO_WORKING, UIStrings.CAPTION_OPERATION, MessageBoxButtons.YesNo) == DialogResult.Yes)
     {
         if (_ProjectManager != null)
         {
             _ProjectManager.CleanTempFolder();
         }
     }
     else
     {
         e.Cancel = true;
     }
 }