C# Class SamplePeer.MainForm

Mostrar archivo Open project: NetMQ/Zyre

Public Methods

Method Description
EventsLogger ( string str ) : void
MainForm ( string name ) : System
MessageLogger ( string str ) : void
NodeLogger ( string str ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
DisplayTitle ( ) : void
InitializeComponent ( ) : void

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

Logger ( RichTextBox rtb, string msg ) : void

Put a message at the TOP of the richTextBox

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
UpdateAndShowGroups ( ) : void
UpdateMessageReceived ( string msg ) : void
UpdatePeerHeaders ( ) : void
ZyreEnterEvent ( object sender, ZyreEventEnter e ) : void
ZyreEvasiveEvent ( object sender, ZyreEventEvasive e ) : void
ZyreExitEvent ( object sender, ZyreEventExit e ) : void
ZyreJoinEvent ( object sender, ZyreEventJoin e ) : void
ZyreLeaveEvent ( object sender, ZyreEventLeave e ) : void
ZyreShoutEvent ( object sender, ZyreEventShout e ) : void
ZyreStopEvent ( object sender, ZyreEventStop e ) : void
ZyreWhisperEvent ( object sender, ZyreEventWhisper e ) : void
btnAddHeader_Click ( object sender, EventArgs e ) : void
btnJoin_Click ( object sender, EventArgs e ) : void
btnLeave_Click ( object sender, EventArgs e ) : void
btnShout_Click ( object sender, EventArgs e ) : void
btnStart_Click ( object sender, EventArgs e ) : void
btnStop_Click ( object sender, EventArgs e ) : void
btnWhisper_Click ( object sender, EventArgs e ) : void
peerDataGridView_DataError ( object sender, DataGridViewDataErrorEventArgs e ) : void

Provide generic error handling for a DataGridView error

peerDataGridView_SelectionChanged ( object sender, EventArgs e ) : void

Method Details

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

EventsLogger() public method

public EventsLogger ( string str ) : void
str string
return void

MainForm() public method

public MainForm ( string name ) : System
name string
return System

MessageLogger() public method

public MessageLogger ( string str ) : void
str string
return void

NodeLogger() public method

public NodeLogger ( string str ) : void
str string
return void