Example #1
0
 private void threadCB_KeyPress(object sender, KeyPressEventArgs e)
 {
     e.Handled = TextboxExtras.HandleInput(TextboxExtras.InputType.Create(false, true, false, false), e.KeyChar,
                                           threadCB);
 }
 private static void handlenumbersinput(object sender, KeyPressEventArgs e)
 {
     e.Handled = TextboxExtras.HandleInput(TextboxExtras.InputType.Create(false, true, false, false), e.KeyChar);
 }
Example #3
0
 private void standardheighttext_KeyPress(object sender, KeyPressEventArgs e)
 {
     e.Handled = TextboxExtras.HandleInput(TextboxExtras.InputType.Create(false, true, false, false), e.KeyChar);
 }
Example #4
0
 private void encryptedtext_KeyPress(object sender, KeyPressEventArgs e)
 {
     e.Handled = TextboxExtras.HandleInput(TextboxExtras.InputType.CreateAllTrue(), e.KeyChar);
 }
Example #5
0
 private void possiblechars_KeyPress(object sender, KeyPressEventArgs e)
 {
     e.Handled = TextboxExtras.HandleInput(TextboxExtras.InputType.Create(true, false, false, false), e.KeyChar,
                                           possiblechars);
 }