示例#1
0
        private void removeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var orderId = SelectedOrderId;

            if (orderId == null)
            {
                ShowInfoMessage(Locale.Instance.Localize("SelectRemovingOrder"));
                return;
            }
            RemoveOrder?.Invoke(SelectedOrderId);
        }
示例#2
0
 private void OnButtonRemoveOrderClick(object o, EventArgs e)
 {
     RemoveOrder?.Invoke();
 }