private void DrawAndPressButton_KeyDown(object sender, EventArgs e) { if (!_MouseMoving) { return; } Pen = true; KeyboardServiceWrapper.UpdateMouseStatus(0, 0); }
private void KeyManager_VolumnDownKeyDown(object sender, KeyEventArgs e) { KeyboardServiceWrapper.UpdateMouseStatus(1, 0); e.Handle = true; }
private void KeyManager_VolumnUpKeyUp(object sender, KeyEventArgs e) { KeyboardServiceWrapper.UpdateMouseStatus(0, 1); e.Handle = true; }
private void LeftMouseButton_KeyDown(object sender, EventArgs e) { KeyboardServiceWrapper.UpdateMouseStatus(0, 0); }
private void RightMouseButton_KeyUp(object sender, EventArgs e) { KeyboardServiceWrapper.UpdateMouseStatus(1, 1); }
private void DrawAndPressButton_KeyUp(object sender, EventArgs e) { Pen = false; Laser = true; KeyboardServiceWrapper.UpdateMouseStatus(0, 1); }