Example #1
0
        /// <summary>
        /// Executes the EditOrderCommand
        /// </summary>
        private void ExecuteEditOrderCommand()
        {
            EditOrderCommand.CommandSucceeded = false;
            addEditOrderVM.CurrentViewMode    = ViewMode.EditMode;
            CurrentCustomerOrder.BeginEdit();
            addEditOrderVM.CurrentCustomer = CurrentCustomer;
            bool?result = uiVisualizerService.ShowDialog("AddEditOrderPopup", addEditOrderVM);

            if (result.HasValue && result.Value)
            {
                CloseActivePopUpCommand.Execute(true);
            }
            EditOrderCommand.CommandSucceeded = true;
        }
Example #2
0
 private void EditedOrderSuccessfullyMessageSink(Boolean dummy)
 {
     CurrentCustomerOrder.EndEdit();
     messageBoxService.ShowInformation("Need to do this, and same for edit");
 }