C# Class Spinach.ProgConf

Inheritance: System.Windows.Window
Show file Open project: shranjan/pinac Class Usage Examples

Public Methods

Method Description
DisplayChat ( string Uname, string Msg ) : void

Display the chat in the chat box

ProgConf ( SwarmConnection SConn ) : System

Default constructor - Initializing the intial things

editor_CloseProgramEvent ( string pid ) : void
setDetails ( string SelfIP, string SelfPort, string user ) : void

Sets the username to be displayed on the screen. This is sent by the connection module.

setUserList ( List list ) : void

Sets the userlist sent by the connection module. This list contains all the users currently in the swarm.

Private Methods

Method Description
AccessThreadStartingPoint ( ) : void
InitializeComponent ( ) : void
NewAccessPermission ( string strPrev ) : void
OwnerChanged ( string strPrev ) : void
OwnerThreadStartingPoint ( ) : void
ShowError ( string errorMsg ) : void
System ( int connectionId, object target ) : void
cmdSend_Click ( object sender, RoutedEventArgs e ) : void
frmProgConf_Closed ( object sender, EventArgs e ) : void
frmProgConf_Loaded ( object sender, RoutedEventArgs e ) : void
rtbChat_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
submnuDisconnect_Click ( object sender, RoutedEventArgs e ) : void
submnuExit_Click ( object sender, RoutedEventArgs e ) : void
submnuLoad_Click ( object sender, RoutedEventArgs e ) : void
submnuNew_Click ( object sender, RoutedEventArgs e ) : void
updateList ( List userList ) : void

Updates the list of users in the swarm.

Method Details

DisplayChat() public method

Display the chat in the chat box
public DisplayChat ( string Uname, string Msg ) : void
Uname string Username of the chat message sender
Msg string Actual chat message
return void

ProgConf() public method

Default constructor - Initializing the intial things
public ProgConf ( SwarmConnection SConn ) : System
SConn SwarmConnection
return System

editor_CloseProgramEvent() public method

public editor_CloseProgramEvent ( string pid ) : void
pid string
return void

setDetails() public method

Sets the username to be displayed on the screen. This is sent by the connection module.
public setDetails ( string SelfIP, string SelfPort, string user ) : void
SelfIP string Self IP Address
SelfPort string Self Port
user string username which was accepted by the swarm while connecting
return void

setUserList() public method

Sets the userlist sent by the connection module. This list contains all the users currently in the swarm.
public setUserList ( List list ) : void
list List List of all the users in the swarm
return void