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