Hello, I've worked on Console Apps. For a while and am moving to visual C++. I am working on a form right now and am stuck.
What I want to do is if the user prushes a button, it will display the text contained by that button to a label.
E.G label1->Text = button1->Text
I can do what I want to do in pascal so I'll show an example of what exactly I want to do.
string A, B;
begin
Label1.Caption := A + B
end
If you understand what I'm trying to do, could you please help me in completing this in C++?
Thanks in advance.