Esempio n. 1
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();
        }