Exemple #1
0
 private void Main_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (_ProjectManager != null)
     {
         _ProjectManager.SaveProject();
         _ProjectManager.SaveConfig();
         _ProjectManager.CleanTempFolder();
     }
 }
Exemple #2
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     _Config.GameVersion  = (int)txtGameVersion.Value;
     _Config.GameRegionID = ddpGameRegion.SelectedIndex + 1;
     _Project.SaveProject();
     this.Close();
 }