C# Класс Spinach.ProgConf

Наследование: System.Windows.Window
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

DisplayChat() публичный Метод

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
Результат void

ProgConf() публичный Метод

Default constructor - Initializing the intial things
public ProgConf ( SwarmConnection SConn ) : System
SConn SwarmConnection
Результат System

editor_CloseProgramEvent() публичный Метод

public editor_CloseProgramEvent ( string pid ) : void
pid string
Результат void

setDetails() публичный Метод

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
Результат void

setUserList() публичный Метод

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
Результат void