Example #1
0
 private void miSetRegionSoldiers_Click(object sender, EventArgs e)
 {
     if (operateMode == OperateMode.SetRegionProps)
     {
         SetRegionPropsForm form = new SetRegionPropsForm();
         if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             mapPanel.SetRegionSoldiers(form.Soldiers);
         }
     }
 }
Example #2
0
 private void miSetRegionSoldiers_Click(object sender, EventArgs e)
 {
     if (operateMode == OperateMode.SetRegionProps)
     {
         SetRegionPropsForm form = new SetRegionPropsForm();
         if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             mapPanel.SetRegionSoldiers(form.Soldiers);
         }
     }
 }