Esempio n. 1
0
 private void SaveStatusBtn_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         m_order.Status = (OrderStatus)Enum.Parse(typeof(OrderStatus), OrderStatusComboBox.SelectedValue.ToString(), true);
         ImpBL bl = ImpBL.Instance;
         bl.UpdateOrder(m_order);
         //Utils.navigationService.GoBack();
         orderListPage.LoadLists();
         MessageBox.Show("Your new status has bean saved", "Success", MessageBoxButton.OK, MessageBoxImage.Information);
     }
     catch (Exception err)
     {
         MessageBox.Show(err.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }
 private void onInviteComplate(object sender, RunWorkerCompletedEventArgs e)
 {
     orderListPage.LoadLists();
 }