コード例 #1
0
 public ServerConnectionManager(Proctor p)
 {
     proctor   = p;
     server    = new TcpListener(1711);
     runThread = new Thread(new ThreadStart(Run));
     runThread.Start();
 }
コード例 #2
0
 public ActiveClientsWnd(Proctor p)
 {
     InitializeComponent();
     proctor = p;
     proctor.StartPrediction(this);
     Populate();
 }
コード例 #3
0
 public UserClient(TcpClient c, Proctor p, ServerConnectionManager par)
 {
     client        = c;
     parent        = par;
     proctor       = p;
     networkStream = client.GetStream();
     streamReader  = new StreamReader(networkStream);
     streamWriter  = new StreamWriter(networkStream);
     readThread    = new Thread(new ThreadStart(ReadLoop));
     readThread.Start();
     learning = false;
     userName = parent.UniqueName();
 }
コード例 #4
0
 public AllUsersWnd(Proctor p)
 {
     InitializeComponent();
     proctor = p;
     Populate();
 }
コード例 #5
0
ファイル: UI.cs プロジェクト: ClaytonSimons/SeniorProject
 public UI()
 {
     InitializeComponent();
     proctor = new Proctor();
 }