Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void textBox1_TextChanged(object sender, EventArgs e) {
- try {
- int szam = Convert.ToInt32(textBox1.Text);
- } catch(Exception ex) {
- if (textBox1.Text != "") {
- MessageBox.Show("Hibaüzenet");
- }
- textBox1.Text = "";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement