Example #1
0
 // Model management
 private void resetModel_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("You are about to reset the editor's memory of all elements. Continue?",
                         "Lazy Shell", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes)
     {
         return;
     }
     AppControl.ClearAll();
     AppControl.LoadAll();
 }