Пример #1
0
 private void legs_Click(object sender, EventArgs e)
 {
     if (atack.Text == "нападает")
     {
         AtackLegsClick?.Invoke(this, EventArgs.Empty);
     }
     else
     {
         BlockLegsClick?.Invoke(this, EventArgs.Empty);
     }
 }
Пример #2
0
 private void btnAtackLegs_Click(object sender, EventArgs e)
 {
     AtackLegsClick?.Invoke(this, EventArgs.Empty);
     EnableDisableAtackDef(false);
 }