예제 #1
0
        private void a_btn_adddefpos_Click(object sender, EventArgs e)
        {
            DefencePostionForm defencePostionForm = new DefencePostionForm(PrimalManager, TypesEnums.UnitSide.Ally);

            defencePostionForm.Show();
            defencePostionForm.FormClosed += (senderr, ee) => {
                refreshBoxes();
            };
        }
예제 #2
0
        private void a_btn_edit_defpos_Click(object sender, EventArgs e)
        {
            DefPos D = (DefPos)PrimalManager.DefenceBoxA.SelectedItem;

            if (D == null)
            {
                return;
            }
            DefencePostionForm defencePostionForm = new DefencePostionForm(PrimalManager, TypesEnums.UnitSide.Ally, D);

            defencePostionForm.Show();
            defencePostionForm.FormClosed += (senderr, ee) => {
                refreshBoxes();
            };
        }