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

Afficher le fichier Open project: paolosalvatori/servicefabriceventhubdemo

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

public ConfigureComponent ( ) : void
Résultat void

Dispose() protected méthode

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

HandleException() public méthode

public HandleException ( Exception ex ) : void
ex Exception
Résultat void

IndentJson() public méthode

public IndentJson ( string json ) : string
json string
Résultat string

IsJson() public static méthode

public static IsJson ( string item ) : bool
item string
Résultat bool

MainForm() public méthode

Initializes a new instance of the MainForm class.
public MainForm ( ) : System
Résultat System