/// <summary> /// Show the task user interface /// </summary> /// <param name="Owner"></param> /// <returns>whether to cancel the task, or run now</returns> public override ShowResult Show(System.Windows.Forms.IWin32Window Owner) { // this creates the window to show the project/task properties SasTaskPropertyViewer dlg = new SasTaskPropertyViewer(this.Consumer); // NOTE: the Show() call (instead of ShowDialog()) // opens the task window in a MODELESS state, which allows you // to continue to interact with the project while this window // is showing. dlg.Show(Owner); return ShowResult.Canceled; }
/// <summary> /// Show the task user interface /// </summary> /// <param name="Owner"></param> /// <returns>whether to cancel the task, or run now</returns> public override ShowResult Show(System.Windows.Forms.IWin32Window Owner) { // this creates the window to show the project/task properties SasTaskPropertyViewer dlg = new SasTaskPropertyViewer(this.Consumer); // NOTE: the Show() call (instead of ShowDialog()) // opens the task window in a MODELESS state, which allows you // to continue to interact with the project while this window // is showing. dlg.Show(Owner); return(ShowResult.Canceled); }