i want to check the button whether it is clicked.
The idea i want to is that:
if(button1 clicked)
{
}
Please help!!!
Moreover, how can i change the char* to String^, it is because i want put the message in char* to the message box.
Thanks a lot!
kbw, String^ is C++/CLI
ryanma, try:
String^ s1 = gcnew String( charPtr );
OH thank!!!!
how can i deal with the problem:
if(button1 clicked)
{
}??
i am using visual studio 2008, i can't find the .Ispressed.
What exactly are you trying to do?
when i clicked a button on Form2,
Form1 can do something.
i want to pass a argument to a button.
the situation like this..
public:System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
add(a,b);
}
a and b are the variable i want to pass, how can i deal with it??
Please HELP!
Thank you very much!!!
I'll try this!!!