Method | Description | |
---|---|---|
ControllerEnvironment ( IWin32Window mainWindow, |
Creates new instance of this class.
|
|
ShowDialog ( |
Calls Form.ShowDialog() method on the specified instance and returns its return value.
|
|
ShowMessageBox ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon ) : DialogResult |
Calls MessageBox.Show(string, string, MessageBoxButtons, MessageBoxIcon) method with the specified parameters and returns its return value.
|
public ControllerEnvironment ( IWin32Window mainWindow, |
||
mainWindow | IWin32Window | An implementation of |
listener | An arbitrary |
|
return | System |
public ShowDialog ( |
||
form | ||
return | DialogResult |
public ShowMessageBox ( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon ) : DialogResult | ||
text | string | |
caption | string | |
buttons | MessageBoxButtons | |
icon | MessageBoxIcon | |
return | DialogResult |