Example #1
0
        private void SaveBooksCallback(ServiceSubmitChangesResult result)
        {
            string msg           = (result.Error != null) ? "Save was unsuccessful" : "Save was successful";
            var    dialogMessage = new SavedBookDialogMessage(msg, "Save");

            Messenger.Default.Send(dialogMessage);
        }
 private void SaveBooksCallback(ServiceSubmitChangesResult result)
 {
     string msg = (result.Error != null) ? "Save was unsuccessful" : "Save was successful";
     var dialogMessage = new SavedBookDialogMessage(msg, "Save");
     Messenger.Default.Send(dialogMessage);
 }
 private void OnSaveBookDialogMessageReceived(SavedBookDialogMessage msg)
 {
     MessageBox.Show(msg.Content, msg.Caption, msg.Button);
 }
Example #4
0
 private void OnSaveBookDialogMessageReceived(SavedBookDialogMessage msg)
 {
     MessageBox.Show(msg.Content, msg.Caption, msg.Button);
 }