title: How do I capture user input as a variable, perform calculations, then display the result in another control without using MFC?
body: <p>I have written a console application using C++ that performs a number of tasks, as per the following menu.<br>
  0 – to quit system<br>
  1 – Show message<br>
  2 – Cube a number<br>
  3 – Convert to Fahrenheit<br>
  4 – Test an array<br>
  5 – Add many integers<br>
  6 – Get seven Lotto numbers for System 7<br>
  7 – Read historical data file (file name is s.csv)<br>
  8 – Display historical results<br>
  9 – Display frequency counts  </p>
  
  <p>The current project is to turn this into a Windows application using MS Visual C++ Express. I must use this IDE. Note that the Express(free) version does not include the Microsoft Foundation Classes (MFC). Almost all of the information that I have found relates to using MFC.</p>
  
  <p>I’ve started to write a solution as a Windows Forms Application.</p>
  
  <p>So far I have a menu on the form that will display and clear a message and close the Window.  </p>
  
  <p>I have added text boxes and labels to the form however I don’t know how to capture user input as a variable, perform calculations on the input then display the result in another control.  </p>
  
  <p>I will probably use separate dialog boxes for each menu option in the final solution. However for now I would just like to get a simple calculation to work.</p>
  
  <p>This is my first post. All guidance and answers will be greatly appreciated.</p>