Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void Send_Click(object sender, EventArgs e)
- {
- string ID;
- string Error;
- Error = "Please enter a valid ID, then submit.";
- ID = Identification.Text;
- if (ID.Length != 5)
- {
- Identification.Text = " ";
- Identification.Focus();
- MessageBox.Show(Error);
- }
- else
- {
- Identification.Text = " ";
- Identification.Focus();
- DetailForm Detail = new DetailForm();
- Detail.Show();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement