Answer to Question #445 in C# for Alesia

Question #445
I am trying to make my calculations button calculate data and return data to a text box on a Windows Application. Could someone help me? Thank you.
1
Expert's answer
2010-07-13T05:36:21-0400
First, you have to open your button in Designer (VisualStudio). In the EventHandler for button_Click write code like this:

int data=2*2;
textBox1.Text=data.ToString();

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS