示例#1
0
文件: Dialog.cs 项目: djlw78/FlaxAPI
 /// <summary>
 /// Shows the dialog.
 /// </summary>
 /// <param name="parentWindow">The parent window.</param>
 public void Show(Window parentWindow)
 {
     Show(parentWindow?.NativeWindow);
 }
示例#2
0
文件: Dialog.cs 项目: djlw78/FlaxAPI
 /// <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));
 }
示例#3
0
 // Hidden constructor. Object created from C++ side.
 private Window()
 {
     GUI = new GUI.Window(this);
 }