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