private void TextBox1_KeyUp(object sender, KeyEventArgs e)//Select KeyUp from Event { if(TextBox2.Text.Length<3) Textbox2.Text=Textbox1.Text.ToUpper; }
private void myTextBox_TextChanged(object sender, EventArgs e) { if (!string.IsNullOrEmpty(myTextBox.Text)) { myOtherTextBox.Text = myTextBox.Text.Substring(0, 3); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)