SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Protected Member Functions | Properties | Events | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SeciControls.CommandLineHost Class Reference
Inheritance diagram for SeciControls.CommandLineHost:
Inheritance graph
Collaboration diagram for SeciControls.CommandLineHost:
Collaboration graph

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
 

Detailed Description

Definition at line 14 of file CommandLineHost.cs.

Constructor & Destructor Documentation

SeciControls.CommandLineHost.CommandLineHost ( )
inline

Definition at line 33 of file CommandLineHost.cs.

References SeciControls.CommandLineHost.InitializeComponent().

Here is the call graph for this function:

Member Function Documentation

void SeciControls.CommandLineHost.createProcess ( String  filepath,
String  args 
)
inlineprivate
void SeciControls.CommandLineHost.disableSystemMenu ( )
inlineprivate
void IDisposable. SeciControls.CommandLineHost.Dispose ( )
inlineprivate

Definition at line 200 of file CommandLineHost.cs.

override void SeciControls.CommandLineHost.Dispose ( bool  disposing)
inlineprotected
Boolean SeciControls.CommandLineHost.getHandle ( )
inlineprivate
void SeciControls.CommandLineHost.Initialise ( String  filepath,
String  args 
)
inline
void SeciControls.CommandLineHost.InitializeComponent ( )
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().

void SeciControls.CommandLineHost.KillProcess ( )
inline
void SeciControls.CommandLineHost.linkLabel1_LinkClicked ( object  sender,
LinkLabelLinkClickedEventArgs  e 
)
inlineprivate

Definition at line 184 of file CommandLineHost.cs.

References SeciControls.CommandLineHost.OnProcessStartedViaLink, and SeciControls.CommandLineHost.StartProcess().

Here is the call graph for this function:

void SeciControls.CommandLineHost.linkVisibility ( bool  visible)
inlineprivate

Definition at line 193 of file CommandLineHost.cs.

Referenced by SeciControls.CommandLineHost.proc_Exited().

void SeciControls.CommandLineHost.positionSubWindow ( )
inlineprivate
void SeciControls.CommandLineHost.proc_Exited ( object  sender,
EventArgs  e 
)
inlineprivate
void SeciControls.CommandLineHost.SetFocus ( )
inline

Definition at line 226 of file CommandLineHost.cs.

References SeciControls.CommandLineHost._windowHandle, and SeciControls.CommandLineHost.SetForegroundWindow().

Here is the call graph for this function:

static int SeciControls.CommandLineHost.SetForegroundWindow ( IntPtr  hWnd)
private
void SeciControls.CommandLineHost.StartProcess ( )
inline
delegate void SeciControls.CommandLineHost.updateLinkVisibilityDelegate ( Boolean  visible)
private

Member Data Documentation

String SeciControls.CommandLineHost._args
staticprivate
String SeciControls.CommandLineHost._filepath
staticprivate
Process SeciControls.CommandLineHost._proc
private
int SeciControls.CommandLineHost._procID = 0
private

Definition at line 26 of file CommandLineHost.cs.

Referenced by SeciControls.CommandLineHost.StartProcess().

bool SeciControls.CommandLineHost._procKilled = false
private
bool SeciControls.CommandLineHost._usePython = false
private

Definition at line 25 of file CommandLineHost.cs.

IntPtr SeciControls.CommandLineHost._windowHandle
private
System.ComponentModel.IContainer SeciControls.CommandLineHost.components = null
private

Required designer variable.

Definition at line 8 of file CommandLineHost.designer.cs.

Referenced by SeciControls.CommandLineHost.Dispose().

System.Windows.Forms.LinkLabel SeciControls.CommandLineHost.linkStart
private

Definition at line 48 of file CommandLineHost.designer.cs.

Property Documentation

String SeciControls.CommandLineHost.LinkMessage
getset

Definition at line 27 of file CommandLineHost.cs.

int SeciControls.CommandLineHost.ProcID
get

Definition at line 29 of file CommandLineHost.cs.

Boolean SeciControls.CommandLineHost.UsePython
getset

Definition at line 28 of file CommandLineHost.cs.

Event Documentation

EventHandler SeciControls.CommandLineHost.OnProcessStartedViaLink

The documentation for this class was generated from the following files: