visual c++ 2005 express edition button queestion

I had created a new form and I add a Button to it, but when I click on the button and I want to display a message i does not do it, also if I want to open another form using another button how i can do that in Visual C++ 2005 Exp. Ed.

Juan Carlos

private:

System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {

Console::WriteLine("Dame una mano");

}



Answer this question

visual c++ 2005 express edition button queestion

  • WalangAlam

    Try:

    MessageBox::Show("My Message", "Dame una mano");

    Instead of Console::WriteLine.



  • visual c++ 2005 express edition button queestion