private void removeToolStripMenuItem_Click(object sender, EventArgs e) { var orderId = SelectedOrderId; if (orderId == null) { ShowInfoMessage(Locale.Instance.Localize("SelectRemovingOrder")); return; } RemoveOrder?.Invoke(SelectedOrderId); }
private void OnButtonRemoveOrderClick(object o, EventArgs e) { RemoveOrder?.Invoke(); }