private void _frameBufferExposer_Closed(object sender, System.EventArgs e) { _frameBufferExposer = null; _viewModel.KeyboardEnabled = false; _viewModel.MouseEnabled = false; _viewModel.FramebufferEnabled = false; }
public void Start(FrameBufferExposer frameBufferExposer) { _frameBufferExposer = frameBufferExposer; _frameBufferExposer.EnableMouseSupport(this); _miceHandler = new MiceHandler(this); _miceHandler.Start(); }
public void Start(FrameBufferExposer frameBufferExposer) { _frameBufferExposer = frameBufferExposer; _frameBufferExposer.EnableKeyboardSupport(this); _kbdHandler = new KbdHandler(this); _kbdHandler.Start(); }
private void btnFramebuffer_OnChecked(object sender, RoutedEventArgs e) { _frameBufferExposer = new FrameBufferExposer(); _frameBufferExposer.Show(); _frameBufferExposer.Closed += _frameBufferExposer_Closed; }