uikolas

VC++ textbox tikrinimas

Feb 4th, 2013
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. if(String::IsNullOrEmpty(textBox1->Text)){
  2.     MessageBox::Show("Negali buti tuscia reiksme" ,"Klaida!", MessageBoxButtons::OK,MessageBoxIcon::Exclamation);
  3.     textBox1->Focus();
  4. } else {
  5.     MessageBox::Show(textBox1->Text, "Opa!");
  6. }
Advertisement
Add Comment
Please, Sign In to add comment