Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions