/// <summary> /// Shows the dialog. /// </summary> /// <param name="parentWindow">The parent window.</param> public void Show(Window parentWindow) { Show(parentWindow?.NativeWindow); }
/// <summary> /// Shows the dialog and waits for the result. /// </summary> /// <param name="parentWindow">The parent window.</param> /// <returns>The dialog result.</returns> public DialogResult ShowDialog(Window parentWindow) { return(ShowDialog(parentWindow?.NativeWindow)); }
// Hidden constructor. Object created from C++ side. private Window() { GUI = new GUI.Window(this); }