Displaying console output on button_click

Hi,
I've been looking everywhere, and can't find the answer to this one.
I'm making a program and was stuck here.
I'm making a windows form in Visual C++ 2010, and I want to make it so that when you click "button1" it extracts an integer from "textbox1" and "textbox2" and divides integer a (from textbox1) by integer b (from textbox2) AND DISPLAY THE OUTPUT IN A NEW WINDOW!

Can someone give me the codes for that please?

Thx
Emanfman
Topic archived. No new replies allowed.