Public Member Functions | |
CommandLineHost () | |
void | Initialise (String filepath, String args) |
void | KillProcess () |
void | SetFocus () |
void | StartProcess () |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Properties | |
String | LinkMessage [get, set] |
int | ProcID [get] |
Boolean | UsePython [get, set] |
Events | |
EventHandler | OnProcessStartedViaLink |
Private Member Functions | |
void | createProcess (String filepath, String args) |
void | disableSystemMenu () |
void IDisposable. | Dispose () |
Boolean | getHandle () |
void | InitializeComponent () |
Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
void | linkLabel1_LinkClicked (object sender, LinkLabelLinkClickedEventArgs e) |
void | linkVisibility (bool visible) |
void | positionSubWindow () |
void | proc_Exited (object sender, EventArgs e) |
static int | SetForegroundWindow (IntPtr hWnd) |
delegate void | updateLinkVisibilityDelegate (Boolean visible) |
Private Attributes | |
Process | _proc |
int | _procID = 0 |
bool | _procKilled = false |
bool | _usePython = false |
IntPtr | _windowHandle |
System.ComponentModel.IContainer | components = null |
Required designer variable. More... | |
System.Windows.Forms.LinkLabel | linkStart |
Static Private Attributes | |
static String | _args |
static String | _filepath |
Definition at line 14 of file CommandLineHost.cs.
|
inline |
Definition at line 33 of file CommandLineHost.cs.
References SeciControls.CommandLineHost.InitializeComponent().
|
inlineprivate |
Definition at line 149 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._proc.
Referenced by SeciControls.CommandLineHost.StartProcess().
|
inlineprivate |
Definition at line 137 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._windowHandle, and SeciControls.WinApi.MF_BYPOSITION.
Referenced by SeciControls.CommandLineHost.StartProcess().
|
inlineprivate |
Definition at line 200 of file CommandLineHost.cs.
|
inlineprotected |
Definition at line 206 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._proc, SeciControls.CommandLineHost._procKilled, and SeciControls.CommandLineHost.components.
|
inlineprivate |
Definition at line 84 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._proc, and SeciControls.CommandLineHost._windowHandle.
Referenced by SeciControls.CommandLineHost.StartProcess().
|
inline |
Definition at line 38 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._args, and SeciControls.CommandLineHost._filepath.
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
Definition at line 16 of file CommandLineHost.designer.cs.
Referenced by SeciControls.CommandLineHost.CommandLineHost().
|
inline |
Definition at line 160 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._proc, and SeciControls.CommandLineHost._procKilled.
|
inlineprivate |
Definition at line 184 of file CommandLineHost.cs.
References SeciControls.CommandLineHost.OnProcessStartedViaLink, and SeciControls.CommandLineHost.StartProcess().
|
inlineprivate |
Definition at line 193 of file CommandLineHost.cs.
Referenced by SeciControls.CommandLineHost.proc_Exited().
|
inlineprivate |
Definition at line 108 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._windowHandle.
Referenced by SeciControls.CommandLineHost.StartProcess().
|
inlineprivate |
Definition at line 176 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._procKilled, SeciControls.CommandLineHost.linkVisibility(), and SeciControls.CommandLineHost.updateLinkVisibilityDelegate().
Referenced by SeciControls.CommandLineHost.StartProcess().
|
inline |
Definition at line 226 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._windowHandle, and SeciControls.CommandLineHost.SetForegroundWindow().
|
private |
Referenced by SeciControls.CommandLineHost.SetFocus().
|
inline |
Definition at line 44 of file CommandLineHost.cs.
References SeciControls.CommandLineHost._args, SeciControls.CommandLineHost._filepath, SeciControls.CommandLineHost._proc, SeciControls.CommandLineHost._procID, SeciControls.CommandLineHost._procKilled, SeciControls.CommandLineHost._windowHandle, SeciControls.CommandLineHost.createProcess(), SeciControls.CommandLineHost.disableSystemMenu(), SeciControls.CommandLineHost.getHandle(), SeciControls.CommandLineHost.positionSubWindow(), and SeciControls.CommandLineHost.proc_Exited().
Referenced by SeciControls.CommandLineHost.linkLabel1_LinkClicked().
|
private |
Referenced by SeciControls.CommandLineHost.proc_Exited().
|
staticprivate |
Definition at line 24 of file CommandLineHost.cs.
Referenced by SeciControls.CommandLineHost.Initialise(), and SeciControls.CommandLineHost.StartProcess().
|
staticprivate |
Definition at line 23 of file CommandLineHost.cs.
Referenced by SeciControls.CommandLineHost.Initialise(), and SeciControls.CommandLineHost.StartProcess().
|
private |
Definition at line 19 of file CommandLineHost.cs.
Referenced by SeciControls.CommandLineHost.createProcess(), SeciControls.CommandLineHost.Dispose(), SeciControls.CommandLineHost.getHandle(), SeciControls.CommandLineHost.KillProcess(), and SeciControls.CommandLineHost.StartProcess().
|
private |
Definition at line 26 of file CommandLineHost.cs.
Referenced by SeciControls.CommandLineHost.StartProcess().
|
private |
Definition at line 22 of file CommandLineHost.cs.
Referenced by SeciControls.CommandLineHost.Dispose(), SeciControls.CommandLineHost.KillProcess(), SeciControls.CommandLineHost.proc_Exited(), and SeciControls.CommandLineHost.StartProcess().
|
private |
Definition at line 25 of file CommandLineHost.cs.
|
private |
|
private |
Required designer variable.
Definition at line 8 of file CommandLineHost.designer.cs.
Referenced by SeciControls.CommandLineHost.Dispose().
|
private |
Definition at line 48 of file CommandLineHost.designer.cs.
|
getset |
Definition at line 27 of file CommandLineHost.cs.
|
get |
Definition at line 29 of file CommandLineHost.cs.
|
getset |
Definition at line 28 of file CommandLineHost.cs.
EventHandler SeciControls.CommandLineHost.OnProcessStartedViaLink |
Definition at line 31 of file CommandLineHost.cs.
Referenced by SeciControls.CommandLineHost.linkLabel1_LinkClicked().