Example #1
0
 private void head_Click(object sender, EventArgs e)
 {
     if (atack.Text == "нападает")
     {
         AtackHeadClick?.Invoke(this, EventArgs.Empty);
     }
     else
     {
         BlockHeadClick?.Invoke(this, EventArgs.Empty);
     }
 }
Example #2
0
 // Events
 private void btnAtackHead_Click(object sender, EventArgs e)
 {
     AtackHeadClick?.Invoke(this, EventArgs.Empty);
     EnableDisableAtackDef(false);
 }