SendKeys.SendWait(" ");
private bool shiftPressed = false; private void Modifier_Click(object sender, RoutedEventArgs e) download keyboard virtual windows 10
string key = ((Button)sender).Content.ToString(); SendKeys.SendWait(key); // Sends to active window SendKeys
private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) private bool shiftPressed = false