예제 #1
0
 private void EndSaveCustomerService(SaveCustomerServiceResult result)
 {
     this.Dispatcher.BeginInvoke(delegate()
     {
         if (result.Success)
         {
             Dialog.ShowOkDialog(SilverlightVisualDesigners.Properties.Resources.Information, SilverlightVisualDesigners.Properties.Resources.CustomerServiceSuccessfullySaved, this.LayoutRoot, PagesConstants.ListServicesPage);
         }
         else
         {
             Dialog.ShowErrorDialog(SilverlightVisualDesigners.Properties.Resources.Error, SilverlightVisualDesigners.Properties.Resources.ErrorWhileSavingCustomerService, this.LayoutRoot);
         }
     }
                                 );
 }
예제 #2
0
 private void EndSaveDataModel(SaveDataModelResult result)
 {
     this.Dispatcher.BeginInvoke(delegate()
     {
         if (result.Success)
         {
             Dialog.ShowOkDialog(SilverlightVisualDesigners.Properties.Resources.Information, SilverlightVisualDesigners.Properties.Resources.DataModelSuccessfullySaved, this.LayoutRoot, PagesConstants.StoreProfilePage);
         }
         else
         {
             Dialog.ShowErrorDialog(SilverlightVisualDesigners.Properties.Resources.Information, SilverlightVisualDesigners.Properties.Resources.ErrorWhileSavingDataModel, this.LayoutRoot);
         }
     }
                                 );
 }