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