Exemplo n.º 1
0
 private void resetFormation_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("You're about to undo all changes to the current formation. Go ahead with reset?",
                         "LAZY SHELL", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No)
     {
         return;
     }
     Formation = new Formation(FormationIndex);
     FormationsForm.LoadProperties();
 }
Exemplo n.º 2
0
 private void clearFormations_Click(object sender, EventArgs e)
 {
     new ClearElements(Model.Formations, FormationIndex, "CLEAR FORMATIONS...").ShowDialog();
     FormationsForm.LoadProperties();
 }
Exemplo n.º 3
0
 private void importFormations_Click(object sender, EventArgs e)
 {
     new IOElements(Model.Formations, IOMode.Import, FormationIndex, "IMPORT FORMATIONS...").ShowDialog();
     FormationsForm.LoadProperties();
 }