C# 클래스 Spinach.ProgConf

상속: System.Windows.Window
파일 보기 프로젝트 열기: shranjan/pinac 1 사용 예제들

공개 메소드들

메소드 설명
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