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); } } ); }
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); } } ); }