Question
the programming language is c# Create windows forms application Name the project Lab3_Forms Remember to make the form user friendly. You may need to
the programming language is c#
Create windows forms application
Name the project Lab3_Forms
Remember to make the form user friendly. You may need to add more controls than what is strictly listed below
Remember to properly name everything
Name the form Week4
Have the form display in the title bar: Today we play with forms
Add a label and have it display your name
Add a label and have it display the course name
Run your code
Add a textbox that a user will enter the name of a city
Add a button
Name it talkingButton
When clicked have it display "Hello!" in a messagbox
Test
Comment out the hello code
Add new code that will display what is typed in the textbox in a messagebox.
How to use messageboxes:
Messagebox.Show("whatever string you want to show up");
Run your code
Add a label that will hold a future output
Add to the button's click event
When the button is pressed the value in the textbox will also be displayed in the output label
Test your code
Add a textbox that a user will use to enter a number
Add a label that will hold the output from some upcoming math calculation
Add a label to tell me what the label above is holding (talking to the user)
Add another button that will do advanced math
When clicked
Store the value from the textbox (remember, it is text which means it is a string) in a local variable (local means inside of the method) of integer type
Multiply this integer by 12 and store the result in the math output label
Test your code
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started