Esempio n. 1
0
        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 { }
        }
Esempio n. 2
0
 public AdHocDesktop_StreamWriter(AdHocDesktop_TcpCommand command, AdHocDesktop_TcpClient user, AdHocDesktop_Profile profile)
 {
     this.command = command;
     this.user    = user;
     this.profile = profile;
 }