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