/// <summary> /// 顯示一般對話視窗或是設置結果(測試時),從詩人身上讀取輸入資料 /// </summary> /// <param name="cd">對話視窗實體</param> /// <returns>結果</returns> public static DialogResult ShowDialogOrSetResult(this CommonDialog cd) => cd.ShowDialogOrSetResult(null);