C# Class Spinach.ProgConf

Inheritance: System.Windows.Window
Afficher le fichier Open project: shranjan/pinac Class Usage Examples

Méthodes publiques

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

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

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
Résultat void

ProgConf() public méthode

Default constructor - Initializing the intial things
public ProgConf ( SwarmConnection SConn ) : System
SConn SwarmConnection
Résultat System

editor_CloseProgramEvent() public méthode

public editor_CloseProgramEvent ( string pid ) : void
pid string
Résultat void

setDetails() public méthode

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
Résultat void

setUserList() public méthode

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
Résultat void