Beispiel #1
0
 /// <summary>
 /// Saves state of the tree and updates the state of the project
 /// </summary>
 private void TilesForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     tabIndex = this.tabControl1.SelectedIndex;
     TileSettings.SaveTreeState(this.treeView1);
     if (this.state != this.tiles.Serialize())
     {
         mapWin.Project.Modified = true;
     }
 }
 /// <summary>
 /// Saves the state of the tree
 /// </summary>
 private void PrefetcherForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     TileSettings.SaveTreeState(this.treeView1);
 }