good day guys, can anyone help me with my c# application. I want my first 7 characters/numbers in a textbox that cannot be deleted or backspace disable for the first 7 characters/numbers. And the rest will be inputted only by numbers. Is this really possible? I have a combobox and a texbox. If I select a value/text in the combo box that value/text will be in the textbox and then that value/text cannot be deleted. I am not really good at c#.
private void combo1_SelectedIndexChanged(object sender, EventArgs e)
{
String sent = "ABC-DEF";
txtbox1.Text = sent.ToString();
txtbox1.SelectionStart = txtbox1.Text.Length;
}