Answered Essay: mChange the text on the form to Practice.  Change the forms’ back color property to Cyan.  Build yo

mChange the text on the form to Practice.  Change the forms’ back color property to Cyan.  Build your program to ensure all files loaded correctly. o From what you read in Chapters 1 and 2 you will create a program to practice writing code and displaying information to the user. Your form will have 7 Button controls, 2 Label controls, and 1 PictureBox control. o Part 1: Your program Design:  You are to come up with an appropriate user interface: This is where you should draw out your design on a sheet of paper and identify each object (control) and then place the objects on your form as designed on your sheet.  Button Controls: 1. Name one button welcomeBtn. Change the text of the button to say Display Welcome Message. Change the font of the button to a bold 12pt. Perpetua. 2. Name another button myNameBtn. Change the text of the button to say Display My Name. Change the font of the button to 12pt. Perpetua. 3. Name another button dogNameBtn. Change the text of the button to say Display Dog Name. Change the font of the button to 12pt. Perpetua. 4. Name another button clearTextBtn. Change the text of the button to say Clear. Change the font of the button to 12pt. Perpetua. 5. Name another button showPictureBtn. Change the text of the button to say Show Picture. Change the font of the button to 12pt. Perpetua. 6. Name another button hidePictureBtn. Change the text of the button to say Hide Picture. Change the font of the button to 12pt. Perpetua. 7. Name the last button exitBtn. Change the text of the button to say Exit. Change the font of the button to 12pt. Perpetua.  Label controls 1. Name one label dogLabel. Change the following properties: auto size to False, border style to FixedSingle, font to bold 12pt. Perpetua, text (empty), and text align to MiddleCenter. 2. Name the other label outputLabel. Change the following properties: auto size to False, border style to FixedSingle, font to bold 12pt. Perpetua, text (empty), and text align to MiddleCenter.  PictureBox control 1. Name the pictureBox myPicture. Image: Select and import a .bmp picture from the Chap02 folder of the Student Resources (also can be found in Images folder in Canvas | Resources Module). Change the following properties: border style to FixedSingle, size mode to AutoSize.  Before you proceed: Make sure all controls are properly re-named and all control properties assigned as instructed. Build your program to ensure all changes load correctly. o Part 2: Your program Code:  Now it is time for you to apply your programming skills. Using what you learned in your reading of chapters 1 and 2, the following should happen in your program. When the executable runs, the user should be able to click on any button on the form and observe the execution of the code, you (the programmer) wrote for that button event handler. ECET 16400 Lab 02 Fall 2017 Example: 1. When the welcomeBtn button is clicked, the statement Good Afternoon will display in a message box. 2. When the myNameBtn is clicked, your name will display in the outputLabel control. 3. When the dogNameBtn button is clicked, the name Fido will display in the dogLabel control. 4. When the clearTextBtn button is clicked, the text in the outputLabel control is cleared and the text in the dogLabel control is cleared. 5. When the showPictureBtn button is clicked, the picture in myPicture control will change to visible. 6. When to hidePictureBtn button is clicked, the picture in myPicture control will change back to invisible. 7. When the exitBtn button is clicked, the program will close.

how can you sovle this proble using visual studio     4th Edition text boox

Expert Answer

 

Create a new windows form in visual studio and add controls in it. Go to properties section for each control and change them according to the question like this-

For Picture Box, import image from the location you are asked, i have imported it from my desktop.

Now, handle click events of the controls. Double click on buttons to generate click methods in .cs File

Code-

public partial class UserDetailsForm : Form
{
public UserDetailsForm()
{
InitializeComponent();
}
private void welcomeBtn_Click(object sender, EventArgs e)
{
MessageBox.Show(“Good AfterNoon”);
}
private void myNameBtn_Click(object sender, EventArgs e)
{
//You can type your name here.
outputLabel.Text = “Gunjan”;
}

private void dogNameBtn_Click(object sender, EventArgs e)
{
dogLabel.Text = “Fido”;
}

private void clearTextBtn_Click(object sender, EventArgs e)
{
outputLabel.Text = “”;
dogLabel.Text = “”;
}

private void showPictureBtn_Click(object sender, EventArgs e)
{
myPicture.Visible = true;
}

private void hidePictureBtn_Click(object sender, EventArgs e)
{
myPicture.Visible = false;
}

private void exitBtn_Click(object sender, EventArgs e)
{
Close();
}

}

OUTPUT-

Buy Essay
Calculate your paper price
Pages (550 words)
Approximate price: -

Help Me Write My Essay - Reasons:

Best Online Essay Writing Service

We strive to give our customers the best online essay writing experience. We Make sure essays are submitted on time and all the instructions are followed.

Our Writers are Experienced and Professional

Our essay writing service is founded on professional writers who are on stand by to help you any time.

Free Revision Fo all Essays

Sometimes you may require our writers to add on a point to make your essay as customised as possible, we will give you unlimited times to do this. And we will do it for free.

Timely Essay(s)

We understand the frustrations that comes with late essays and our writers are extra careful to not violate this term. Our support team is always engauging our writers to help you have your essay ahead of time.

Customised Essays &100% Confidential

Our Online writing Service has zero torelance for plagiarised papers. We have plagiarism checking tool that generate plagiarism reports just to make sure you are satisfied.

24/7 Customer Support

Our agents are ready to help you around the clock. Please feel free to reach out and enquire about anything.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

HOW OUR ONLINE ESSAY WRITING SERVICE WORKS

Let us write that nagging essay.

STEP 1

Submit Your Essay/Homework Instructions

By clicking on the "PLACE ORDER" button, tell us your requires. Be precise for an accurate customised essay. You may also upload any reading materials where applicable.

STEP 2

Pick A & Writer

Our ordering form will provide you with a list of writers and their feedbacks. At step 2, its time select a writer. Our online agents are on stand by to help you just in case.

STEP 3

Editing (OUR PART)

At this stage, our editor will go through your essay and make sure your writer did meet all the instructions.

STEP 4

Receive your Paper

After Editing, your paper will be sent to you via email.