/// <summary> /// Closes the dialog. Allows <see cref="Dialog"/> implementations to close themselves. /// </summary> protected void CloseDialog() { CurrentDialogHost.CloseDialog(); }
/// <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); }