private void _tokay_CloseDialogRequested(object sender, CloseDialogRequestedEventArgs e)
 {
     DialogResult = e.DialogResult;
     // Review: should this logic be in the {View}Model rather than here?
     if (DialogResult == DialogResult.OK)
         m_modelSandboxer.CopyBackToOriginal();
     m_modelSandboxer.OriginalModel.Closing(DialogResult);
     Close();
 }
Exemple #2
0
 private void _tokay_CloseDialogRequested(object sender, CloseDialogRequestedEventArgs e)
 {
     DialogResult = e.DialogResult;
     Close();
 }