Esempio n. 1
0
        private void _frameBufferExposer_Closed(object sender, System.EventArgs e)
        {
            _frameBufferExposer = null;

            _viewModel.KeyboardEnabled    = false;
            _viewModel.MouseEnabled       = false;
            _viewModel.FramebufferEnabled = false;
        }
Esempio n. 2
0
        public void Start(FrameBufferExposer frameBufferExposer)
        {
            _frameBufferExposer = frameBufferExposer;
            _frameBufferExposer.EnableMouseSupport(this);

            _miceHandler = new MiceHandler(this);
            _miceHandler.Start();
        }
Esempio n. 3
0
        public void Start(FrameBufferExposer frameBufferExposer)
        {
            _frameBufferExposer = frameBufferExposer;
            _frameBufferExposer.EnableKeyboardSupport(this);

            _kbdHandler = new KbdHandler(this);
            _kbdHandler.Start();
        }
Esempio n. 4
0
 private void btnFramebuffer_OnChecked(object sender, RoutedEventArgs e)
 {
     _frameBufferExposer = new FrameBufferExposer();
     _frameBufferExposer.Show();
     _frameBufferExposer.Closed += _frameBufferExposer_Closed;
 }