C# Class Microsoft.AzureCat.Samples.AlertClient.MainForm

Exibir arquivo Open project: paolosalvatori/servicefabriceventhubdemo

Public Methods

Method Description
ConfigureComponent ( ) : void
HandleException ( Exception ex ) : void
IndentJson ( string json ) : string
IsJson ( string item ) : bool
MainForm ( ) : System

Initializes a new instance of the MainForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CalculateLastColumnWidth ( object sender ) : void
DrawTabControlTabs ( TabControl tabControl, DrawItemEventArgs e, ImageList images ) : void
EventProcessorOptions_ExceptionReceived ( object sender, ExceptionReceivedEventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InternalWriteToLog ( string message ) : void
MainForm_Paint ( object sender, PaintEventArgs e ) : void
MainForm_Shown ( object sender, EventArgs e ) : void
ReadConfiguration ( ) : void
ValidateParameters ( ) : bool
WriteToLog ( string message ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
btnClear_Click ( object sender, EventArgs e ) : void
btnStart_Click ( object sender, EventArgs e ) : void
button_MouseEnter ( object sender, EventArgs e ) : void
button_MouseLeave ( object sender, EventArgs e ) : void
clearLogToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dataGridView_Resize ( object sender, EventArgs e ) : void
dataGridView_RowsAdded ( object sender, System.Windows.Forms.DataGridViewRowsAddedEventArgs e ) : void
dataGridView_RowsRemoved ( object sender, System.Windows.Forms.DataGridViewRowsRemovedEventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
grouperEventHub_CustomPaint ( PaintEventArgs e ) : void
logTabControl_DrawItem ( object sender, DrawItemEventArgs e ) : void
logWindowToolStripMenuItem_Click ( object sender, EventArgs e ) : void
lstLog_Leave ( object sender, EventArgs e ) : void
saveLogToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Saves the log to a text file

Method Details

ConfigureComponent() public method

public ConfigureComponent ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

HandleException() public method

public HandleException ( Exception ex ) : void
ex Exception
return void

IndentJson() public method

public IndentJson ( string json ) : string
json string
return string

IsJson() public static method

public static IsJson ( string item ) : bool
item string
return bool

MainForm() public method

Initializes a new instance of the MainForm class.
public MainForm ( ) : System
return System