Ejemplo n.º 1
0
        public Slave(Client client)
        {
            Client = client;
            RemoteEndPoint = client.RemoteEndPoint;
            LocalEndPoint = client.LocalEndPoint;

            Explorer = new Explorer(Client);
            Desktop = new Desktop(Client);
        }
Ejemplo n.º 2
0
        public DesktopForm(Desktop desktop)
        {
            InitializeComponent();

            pictureBox.KeyDown += pictureBox_KeyDown;
            pictureBox.KeyUp += pictureBox_KeyUp;

            _desktop = desktop;
            _desktop.FrameUpdated += FrameUpdated;
            _desktop.Acknowledged += Acknowledged;
            _desktop.Quality = trackBarQuality.Value;
            _desktop.Start();

            timerFPS.Start();
        }