IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Summary description for ConsoleForm. More...
Public Types | |
enum | Styles { Styles.Normal, Styles.Error, Styles.Mark, Styles.Normal, Styles.Error, Styles.Mark } |
enum | Styles { Styles.Normal, Styles.Error, Styles.Mark, Styles.Normal, Styles.Error, Styles.Mark } |
Public Member Functions | |
ConsoleForm () | |
Argument-less constructor, does not launch the window in a parallel thread. More... | |
ConsoleForm (string msgtext) | |
Shows a fading message in a new thread, with message text equal to mshtext and without a title;. More... | |
void | HideForm () |
void | CloseForm () |
Closes the form by properly (i.e. thread-safe) calling the Close() and Dispose(). More... | |
void | Write (bool block, string str) |
void | Write (string str) |
void | WriteLine (bool block, string str) |
Writes a string to the output console and appends a newline character. More... | |
void | WriteLine (string str) |
void | Write (Char arg) |
void | Write (Boolean arg) |
void | Write (Char[] arg) |
void | Write (Decimal arg) |
void | Write (Double arg) |
void | Write (Int32 arg) |
void | Write (Int64 arg) |
void | Write (Object arg) |
void | Write (Single arg) |
void | Write (UInt32 arg) |
void | Write (UInt64 arg) |
void | Write (String arg, Object arg1) |
void | Write (String arg, Object[] arg1) |
void | Write (Char[] arg, Int32 arg1, Int32 arg2) |
void | Write (String arg, Object arg1, Object arg2) |
void | Write (String arg, Object arg1, Object arg2, Object arg3) |
void | WriteLine (Char arg) |
void | WriteLine (Boolean arg) |
void | WriteLine (Char[] arg) |
void | WriteLine (Decimal arg) |
void | WriteLine (Double arg) |
void | WriteLine (Int32 arg) |
void | WriteLine (Int64 arg) |
void | WriteLine (Object arg) |
void | WriteLine (Single arg) |
void | WriteLine (UInt32 arg) |
void | WriteLine (UInt64 arg) |
void | WriteLine (String arg, Object arg1) |
void | WriteLine (String arg, Object[] arg1) |
void | WriteLine (Char[] arg, Int32 arg1, Int32 arg2) |
void | WriteLine (String arg, Object arg1, Object arg2) |
void | WriteLine (String arg, Object arg1, Object arg2, Object arg3) |
void | ReportError (string errorstr) |
ConsoleForm utility for reporting errors (not global). More... | |
void | ReportError (Exception e) |
Reports an error (including logging, etc., dependent on the current settings). More... | |
void | ReportError (Exception e, string additional) |
void | HideInput () |
void | ShowInput () |
string | ReadLine () |
Reads a single line string from the input console and returns it. More... | |
string | ReadLine (string Message) |
void | ReadString (ref string str) |
void | ReadString (ref string str, string Message) |
int | Read () |
Reads a single character from the input console and returns it as integer. More... | |
int | Read (string Message) |
double | ReadDouble (ref double Value) |
double | ReadDouble (ref double Value, string Message) |
double | ReadDouble () |
Reads a floating point number from the input console and returns it. More... | |
double | ReadDouble (string Message) |
long | ReadLong (ref long Value) |
long | ReadLong (ref long Value, string Message) |
long | ReadLong () |
Reads a floating point number from the input console and returns it. More... | |
long | ReadLong (string Message) |
void | ShowThread () |
Shows a fading message in a new thread. More... | |
void | ShowThread (string title) |
Shows a fading message in a new thread, with message text equal to mshtext and without a title;. More... | |
ConsoleForm () | |
Argument-less constructor, does not launch the window in a parallel thread. More... | |
ConsoleForm (string msgtext) | |
Shows a fading message in a new thread, with message text equal to mshtext and without a title;. More... | |
void | HideForm () |
void | CloseForm () |
Closes the form by properly (i.e. thread-safe) calling the Close() and Dispose(). More... | |
void | Write (bool block, string str) |
void | Write (string str) |
void | WriteLine (bool block, string str) |
Writes a string to the output console and appends a newline character. More... | |
void | WriteLine (string str) |
void | Write (Char arg) |
void | Write (Boolean arg) |
void | Write (Char[] arg) |
void | Write (Decimal arg) |
void | Write (Double arg) |
void | Write (Int32 arg) |
void | Write (Int64 arg) |
void | Write (Object arg) |
void | Write (Single arg) |
void | Write (UInt32 arg) |
void | Write (UInt64 arg) |
void | Write (String arg, Object arg1) |
void | Write (String arg, Object[] arg1) |
void | Write (Char[] arg, Int32 arg1, Int32 arg2) |
void | Write (String arg, Object arg1, Object arg2) |
void | Write (String arg, Object arg1, Object arg2, Object arg3) |
void | WriteLine (Char arg) |
void | WriteLine (Boolean arg) |
void | WriteLine (Char[] arg) |
void | WriteLine (Decimal arg) |
void | WriteLine (Double arg) |
void | WriteLine (Int32 arg) |
void | WriteLine (Int64 arg) |
void | WriteLine (Object arg) |
void | WriteLine (Single arg) |
void | WriteLine (UInt32 arg) |
void | WriteLine (UInt64 arg) |
void | WriteLine (String arg, Object arg1) |
void | WriteLine (String arg, Object[] arg1) |
void | WriteLine (Char[] arg, Int32 arg1, Int32 arg2) |
void | WriteLine (String arg, Object arg1, Object arg2) |
void | WriteLine (String arg, Object arg1, Object arg2, Object arg3) |
void | ReportError (string errorstr) |
ConsoleForm utility for reporting errors (not global). More... | |
void | ReportError (Exception e) |
Reports an error (including logging, etc., dependent on the current settings). More... | |
void | ReportError (Exception e, string additional) |
void | HideInput () |
void | ShowInput () |
string | ReadLine () |
Reads a single line string from the input console and returns it. More... | |
string | ReadLine (string Message) |
void | ReadString (ref string str) |
void | ReadString (ref string str, string Message) |
int | Read () |
Reads a single character from the input console and returns it as integer. More... | |
int | Read (string Message) |
double | ReadDouble (ref double Value) |
double | ReadDouble (ref double Value, string Message) |
double | ReadDouble () |
Reads a floating point number from the input console and returns it. More... | |
double | ReadDouble (string Message) |
long | ReadLong (ref long Value) |
long | ReadLong (ref long Value, string Message) |
long | ReadLong () |
Reads a floating point number from the input console and returns it. More... | |
long | ReadLong (string Message) |
void | ShowThread () |
Shows a fading message in a new thread. More... | |
void | ShowThread (string title) |
Shows a fading message in a new thread, with message text equal to mshtext and without a title;. More... | |
Public Attributes | |
bool | IsClosable = true |
bool | WriteInput = true |
If false then the form can not be closed or dispoded. More... | |
string | Title = "Console" |
Protected Attributes | |
string | OutBuf =null |
bool | OutputStarted =false |
Properties | |
bool | IsBackground [get, set] |
Color | OutBackColor [get, set] |
Output console background color. More... | |
Color | OutForeColor [get, set] |
Output console foreground color. More... | |
Color | OutSelectionColor [get, set] |
Output console foreground color. More... | |
Private Member Functions | |
void | baseConsoleForm () |
Required designer variable. More... | |
void | InitializeComponent () |
Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
void | FormThreadFunc () |
Shows the window in a separate thread. More... | |
void | ConsoleForm_Load (object sender, System.EventArgs args) |
void | ConsoleForm_Dispose (object sender, System.EventArgs e) |
void | ConsoleForm_FormClosing (object sender, FormClosingEventArgs e) |
void | CloseBtn_Click (object sender, EventArgs e) |
void | HideBtn_Click (object sender, EventArgs e) |
void | WriteOutput () |
void | ReserveReportError (string errorstr) |
void | ReserveReportError (Exception e) |
void | ReserveReportError (Exception e, string additional) |
void | PrepareForReading () |
void | FinalizeReading () |
void | WaitResult () |
void | RunInputConfirmationDelegate () |
void | InputConfirm_Read () |
void | InputConfirm_ReadDouble () |
void | InputConfirm_ReadLong () |
void | InputChk_CheckedChanged (object sender, EventArgs e) |
void | ConfirmInputBtn_Click (object sender, EventArgs e) |
void | InBox_PreviewKeyDown (object sender, PreviewKeyDownEventArgs e) |
void | InBox_KeyUp (object sender, KeyEventArgs e) |
void | InBox_KeyPress (object sender, KeyPressEventArgs e) |
void | chkWrap_CheckedChanged (object sender, EventArgs e) |
void | baseConsoleForm () |
Required designer variable. More... | |
void | InitializeComponent () |
Required method for Designer support - do not modify the contents of this method with the code editor. More... | |
void | FormThreadFunc () |
Shows the window in a separate thread. More... | |
void | ConsoleForm_Load (object sender, System.EventArgs args) |
void | ConsoleForm_Dispose (object sender, System.EventArgs e) |
void | ConsoleForm_FormClosing (object sender, FormClosingEventArgs e) |
void | CloseBtn_Click (object sender, EventArgs e) |
void | HideBtn_Click (object sender, EventArgs e) |
void | WriteOutput () |
void | ReserveReportError (string errorstr) |
void | ReserveReportError (Exception e) |
void | ReserveReportError (Exception e, string additional) |
void | PrepareForReading () |
void | FinalizeReading () |
void | WaitResult () |
void | RunInputConfirmationDelegate () |
void | InputConfirm_Read () |
void | InputConfirm_ReadDouble () |
void | InputConfirm_ReadLong () |
void | InputChk_CheckedChanged (object sender, EventArgs e) |
void | ConfirmInputBtn_Click (object sender, EventArgs e) |
void | InBox_PreviewKeyDown (object sender, PreviewKeyDownEventArgs e) |
void | InBox_KeyUp (object sender, KeyEventArgs e) |
void | InBox_KeyPress (object sender, KeyPressEventArgs e) |
void | chkWrap_CheckedChanged (object sender, EventArgs e) |
Private Attributes | |
bool | bgthread = true |
If true then Input messages are repeated in the output console. More... | |
object | InputLock = new object() |
object | OutputLock = new object() |
Color | OBg = Color.White |
Color | OFg = Color.Blue |
Color | OSelFg = Color.Blue |
Color | IBg = Color.White |
Color | IFg = Color.Violet |
Color | ILblNormalBg =Color.Gray |
Color | ILblNormalFg =Color.Black |
Color | ILblActiveBg =Color.Yellow |
Color | ILblActiveFg =Color.Blue |
Color | ILblErrorBg =Color.Red |
Color | ILblErrorFg =Color.Blue |
System.Windows.Forms.Button | HideBtn |
Panel | TitlePanel |
Panel | OutputOuterPnl |
Panel | ControlPanel |
Label | TitleLbl |
RichTextBox | OutBox |
Label | OutputLbl |
Panel | InputPnl |
RichTextBox | InBox |
Label | InputLbl |
Label | InputMsgLbl |
Button | ConfirmInputBtn |
CheckBox | InputChk |
Button | button1 |
Label | StatusLbl |
Thread | formthread = null |
bool | OutputEnded =false |
int | RecCountWrite = 0 |
int | RecCountError = 0 |
object | ErrorLock = new object() |
string | InputResultString =null |
string | InputMessage =null |
bool | ReadStarted =false |
bool | ReadFinished =false |
bool | MultiLineInput = false |
bool | SingleCharacterInput = false |
bool | DeleteLastNewline = false |
bool | SelectInput =false |
int | KeyValue = 0 |
Keys | KeyData = Keys.None |
Keys | KeyCode =Keys.None |
IFormatProvider | FormatProvider = System.Globalization.CultureInfo.CreateSpecificCulture("") |
Summary description for ConsoleForm.
|
inline |
Argument-less constructor, does not launch the window in a parallel thread.
|
inline |
Shows a fading message in a new thread, with message text equal to mshtext and without a title;.
|
inline |
Argument-less constructor, does not launch the window in a parallel thread.
|
inline |
Shows a fading message in a new thread, with message text equal to mshtext and without a title;.
|
inlineprivate |
Required designer variable.
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
inlineprivate |
Shows the window in a separate thread.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
Closes the form by properly (i.e. thread-safe) calling the Close() and Dispose().
References IG.Forms.VoidDelegate().
|
inlineprivate |
References IG.Forms.VoidDelegate().
|
inline |
Writes a string to the output console. If block=true, then it blocks until the string is actually written.
|
inline |
References IG.Sendigence.ConsoleForm.Write().
Referenced by IG.Sendigence.ConsoleForm.Write().
|
inline |
Writes a string to the output console and appends a newline character.
|
inline |
References IG.Sendigence.ConsoleForm.WriteLine().
Referenced by IG.Sendigence.ConsoleForm.WriteLine().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ConsoleForm utility for reporting errors (not global).
|
inline |
Reports an error (including logging, etc., dependent on the current settings).
|
inline |
Reports an error (including logging, etc., dependent on the current settings). An additonal string is appended to error report.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
References IG.Forms.VoidDelegate().
|
inline |
References IG.Forms.VoidDelegate().
|
inlineprivate |
References IG.Forms.VoidDelegate().
|
inlineprivate |
References IG.Forms.VoidDelegate().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
Reads a single line string from the input console and returns it.
|
inline |
Reads a single line string from the input console and returns it. If Message!=Null then Message is written above the input form before reading.
References IG.Forms.VoidDelegate().
|
inline |
|
inline |
Reads a multiple line string from the input console and returns it in OutStr. If Message!=Null then Message is written above the input form before reading.
References IG.Forms.VoidDelegate().
|
inline |
Reads a single character from the input console and returns it as integer.
|
inline |
Reads a single character from the input console and returns it as integer. If Message!=null then it is written above the input form before reading starts.
References IG.Forms.VoidDelegate().
|
inlineprivate |
|
inline |
Reads a floating point number from the input console and returns it in Value. Initial value of the number is set to Value prior to reading.
|
inline |
Reads a floating point number from the input console and returns it in Value. If Message!=null then it is written above the input form before reading starts. Initial value of the number is set to Value prior to reading.
References IG.Forms.VoidDelegate().
|
inline |
Reads a floating point number from the input console and returns it.
|
inline |
Reads a floating point number from the input console and returns it. If Message!=null then it is written above the input form before reading starts.
|
inlineprivate |
|
inline |
Reads a floating point number from the input console and returns it in Value. Initial value of the number is set to Value prior to reading.
|
inline |
Reads a floating point number from the input console and returns it in Value. If Message!=null then it is written above the input form before reading starts. Initial value of the number is set to Value prior to reading.
References IG.Forms.VoidDelegate().
|
inline |
Reads a floating point number from the input console and returns it.
|
inline |
Reads a floating point number from the input console and returns it. If Message!=null then it is written above the input form before reading starts.
|
inline |
Shows a fading message in a new thread.
|
inline |
Shows a fading message in a new thread, with message text equal to mshtext and without a title;.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Required designer variable.
|
inlineprivate |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
inlineprivate |
Shows the window in a separate thread.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
Closes the form by properly (i.e. thread-safe) calling the Close() and Dispose().
References IG.Forms.VoidDelegate().
|
inlineprivate |
References IG.Forms.VoidDelegate().
|
inline |
Writes a string to the output console. If block=true, then it blocks until the string is actually written.
|
inline |
References IG.Sendigence.ConsoleForm.Write().
Referenced by IG.Sendigence.ConsoleForm.Write().
|
inline |
Writes a string to the output console and appends a newline character.
|
inline |
References IG.Sendigence.ConsoleForm.WriteLine().
Referenced by IG.Sendigence.ConsoleForm.WriteLine().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ConsoleForm utility for reporting errors (not global).
|
inline |
Reports an error (including logging, etc., dependent on the current settings).
|
inline |
Reports an error (including logging, etc., dependent on the current settings). An additonal string is appended to error report.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
References IG.Forms.VoidDelegate().
|
inline |
References IG.Forms.VoidDelegate().
|
inlineprivate |
References IG.Forms.VoidDelegate().
|
inlineprivate |
References IG.Forms.VoidDelegate().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
Reads a single line string from the input console and returns it.
|
inline |
Reads a single line string from the input console and returns it. If Message!=Null then Message is written above the input form before reading.
References IG.Forms.VoidDelegate().
|
inline |
|
inline |
Reads a multiple line string from the input console and returns it in OutStr. If Message!=Null then Message is written above the input form before reading.
References IG.Forms.VoidDelegate().
|
inline |
Reads a single character from the input console and returns it as integer.
|
inline |
Reads a single character from the input console and returns it as integer. If Message!=null then it is written above the input form before reading starts.
References IG.Forms.VoidDelegate().
|
inlineprivate |
|
inline |
Reads a floating point number from the input console and returns it in Value. Initial value of the number is set to Value prior to reading.
|
inline |
Reads a floating point number from the input console and returns it in Value. If Message!=null then it is written above the input form before reading starts. Initial value of the number is set to Value prior to reading.
References IG.Forms.VoidDelegate().
|
inline |
Reads a floating point number from the input console and returns it.
|
inline |
Reads a floating point number from the input console and returns it. If Message!=null then it is written above the input form before reading starts.
|
inlineprivate |
|
inline |
Reads a floating point number from the input console and returns it in Value. Initial value of the number is set to Value prior to reading.
|
inline |
Reads a floating point number from the input console and returns it in Value. If Message!=null then it is written above the input form before reading starts. Initial value of the number is set to Value prior to reading.
References IG.Forms.VoidDelegate().
|
inline |
Reads a floating point number from the input console and returns it.
|
inline |
Reads a floating point number from the input console and returns it. If Message!=null then it is written above the input form before reading starts.
|
inline |
Shows a fading message in a new thread.
|
inline |
Shows a fading message in a new thread, with message text equal to mshtext and without a title;.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
bool IG.Sendigence.ConsoleForm.IsClosable = true |
bool IG.Sendigence.ConsoleForm.WriteInput = true |
If false then the form can not be closed or dispoded.
|
private |
If true then Input messages are repeated in the output console.
|
private |
|
private |
string IG.Sendigence.ConsoleForm.Title = "Console" |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getset |
|
getset |
Output console background color.
|
getset |
Output console foreground color.
|
getset |
Output console foreground color.