private void OpenSuspendedOrdersDialog() { Order order = Dialogs.GetSuspendedOrder(SuspendedOrders); if (order != null) { CurrentOrder = order; SuspendedOrders.Remove(order); SuspendedOrdersCount = SuspendedOrders.Count; } }
private void SuspendOrder() { SuspendedOrders.Add(CurrentOrder); SuspendedOrdersCount = SuspendedOrders.Count; initOrder(); }