CooLWong
July 16th, 2007, 03:34 AM
I using Visual C++ express edition 2005, when i click a button, it will shown a messagebox. I can write a simple code to show it, but it don hav error message, warning message, or information message.
This is my simple code:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
System::Windows::Forms::MessageBox::Show("Example", "YA");
}
Any body can help me to change the code to show the error message or warning message???
This is my simple code:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
System::Windows::Forms::MessageBox::Show("Example", "YA");
}
Any body can help me to change the code to show the error message or warning message???