Beispiel #1
0
 /// <summary>
 /// Closes the dialog. Allows <see cref="Dialog"/> implementations to close themselves.
 /// </summary>
 protected void CloseDialog()
 {
     CurrentDialogHost.CloseDialog();
 }
Beispiel #2
0
 /// <summary>
 /// Opens another dialog. Allows <see cref="Dialog"/> implementations to open sub-dialogs.
 /// </summary>
 /// <param name="dialogToOpen">The other dialog to open.</param>
 protected void OpenDialog(Dialog dialogToOpen)
 {
     CurrentDialogHost.OpenDialog(dialogToOpen);
 }