Пример #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>();
 }