Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (textBox1.Text == "HelloThere")
- {
- MessageBox.Show("");
- this.Hide();
- Form2 main = new Form2();
- main.Show();
- }
- else
- {
- MessageBox.Show("");
- Application.Exit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement