示例#1
0
 public Client(MainWindow wnd, TcpClient client)
 {
     this.owner = wnd;
     this.netClient = client;
     this.netStream = client.GetStream();
     this.BeginReadStream();
 }
示例#2
0
 public Vm(MainWindow wnd)
 {
     this.window = wnd;
     this.Clients = new ObservableCollection<ClientVm>();
     this.Messages = new ObservableCollection<MessageVm>();
 }