void Initialize() { profile = new AdHocDesktop_Profile(); //connectTextBox.Text = Dns.GetHostName(); loginPanel.BringToFront(); loginPanel.Dock = DockStyle.Fill; try { videoDeviceSelector = new VideoDevicesSelector(); if (videoDeviceSelector.Count > 0) { videoDeviceSelector.ShowVideoGrabberForm(0, true); } } catch { } }
public AdHocDesktop_StreamWriter(AdHocDesktop_TcpCommand command, AdHocDesktop_TcpClient user, AdHocDesktop_Profile profile) { this.command = command; this.user = user; this.profile = profile; }