How to set an IWin32Window value?
Posted: November 2nd, 2014, 2:27 pm
The C# code is using this as the argument to a function that calls a dialog.
this is a value of type System.Windows.Forms.IWin32Window.
That is, the dialog being called is modal, disallowing interaction with the environment that is this.
How can I assign '#' []wi 'hwndmain' to a variable of type System.Windows.Forms.IWin32Window?
The aim is to make the dialog disallow interaction with the APL+Win environment.
- Code: Select all
if (frm.ShowDialog(this)== DialogResult.OK)
this is a value of type System.Windows.Forms.IWin32Window.
That is, the dialog being called is modal, disallowing interaction with the environment that is this.
How can I assign '#' []wi 'hwndmain' to a variable of type System.Windows.Forms.IWin32Window?
The aim is to make the dialog disallow interaction with the APL+Win environment.