private void legs_Click(object sender, EventArgs e) { if (atack.Text == "нападает") { AtackLegsClick?.Invoke(this, EventArgs.Empty); } else { BlockLegsClick?.Invoke(this, EventArgs.Empty); } }
private void btnAtackLegs_Click(object sender, EventArgs e) { AtackLegsClick?.Invoke(this, EventArgs.Empty); EnableDisableAtackDef(false); }