private void body_Click(object sender, EventArgs e) { if (atack.Text == "нападает") { AtackBodyClick?.Invoke(this, EventArgs.Empty); } else { BlockBodyClick?.Invoke(this, EventArgs.Empty); } }
private void btnDefBody_Click(object sender, EventArgs e) { BlockBodyClick?.Invoke(this, EventArgs.Empty); EnableDisableAtackDef(true); }