예제 #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 btnDefLegs_Click(object sender, EventArgs e)
 {
     BlockLegsClick?.Invoke(this, EventArgs.Empty);
     EnableDisableAtackDef(true);
 }