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