Esempio n. 1
0
 private static void Window_KeyPress(object sender, IKeyPressEventArgs e)
 {
     window.Title = e.KeyChar.ToString();
 }
Esempio n. 2
0
 private static void Window_KeyPress(object sender, IKeyPressEventArgs e)
 {
     Desktop.Text += e.KeyChar.ToString();
 }
Esempio n. 3
0
 protected virtual bool OnKeyPress(IKeyPressEventArgs e)
 {
     KeyPress?.Invoke(this, e);
     return(true);
 }