Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this answer by Wednesday 7/18/2018. It is C# and it is done in Visual Studios. Design of the Application UI: The name of

I need this answer by Wednesday 7/18/2018. It is C# and it is done in Visual Studios.

Design of the Application UI:

The name of the Solution for this exercise will be Module9Solution

The name of the Project for this exercise will be Module9Project

Change the information on the form so that the Windows Title Bar will show "IgPay AtinLay" instead of Form1

Set the background color on the form to a pleasing shade of light Yellow

Name the form itself to frmIgPayAtinLay

Change the name of the files for the form to match its name

For example, this means in the Solutions Explorer, the .cs File for the form should say frmPigLatin.cs

Have the form start up in the center of the screen

There will need to be an Exit button

There will need to be a Reset button

There will need to be textbox on the form where the use can enter a message to be made into a pig latin quote.

The text box should have an accompanying identifying label for the user to know the textbox's use

The textbox should have a background color of white

The textbox should be at the top of the form along with its identifying label

There will need to be a button that is used to start the pig latin process

The process will use the text in the properly labeled textbox and convert it into a pig latin quote.

There will be 1 area on the form where information about the number is to be displayed back to the user.

The area is to be at the bottom of the form and be as wide as the form. It must but large enough to display the information to the user without the user needing to scroll.

The initial color of the area should be a light shade of blue.

The text in the area should be easy to read.

Pig Latin button should be centered below the Textbox and the textbox's identifying label.

The other bottoms need to be placed logically on the form between the Textbox and the output message area. Exact location is left up to you as the form designer.

Operations of the Application:

When the user clicks the Exit button, the application closes

Tie the Escape Key to the "Exit" Button using the form property covered

Clicking the Reset Button

The text box is to be cleared

The message box is to be cleared

Focus is to be moved to the textbox itself

The Pig Latin button

Will take the information in the textbox and convert it

The results of the conversion will be placed into the Message Area

All messages to the user are to be displayed in the Message Area.

Do not use any dialog boxes that pop up for this application.

The user should be informed of an error.

The main error here is no text in the text box.

This does not check the english of the writer, just converts so no need to check to see if real words were used.

All digits entry would not trigger an error but should include a premessage to the that what they entered was all digits or non text.

Error messages, display messages, and other user interface messages are up you for wording as long as the information is there and the user gets some help on what the information is.

Coding Specifications for the Application:

Controls should have meaningful names to the purpose they serve. Create the controls with the meaningful names or change them to meaningful names if you created them with the defaults.

Be consistent throughout the program on your naming of controls

Use an empty string to set a text property to empty

example: textbox1.Text = "";

Remember, a label text property can be set just like a textbox property

Put a multiple line comment at the top of the code, just under all those using statements, that contains your name, the class information, and due date of the exercise on separate lines

Use methods for the conversion of the contents of the text box.

Write a single method that will the pig latin

Use methods to help split the code up and set up for re-usability also.

The use of class scope variables is discouraged. Pass information back and forth between methods as needed. Do not use class scope variables except as constants unless you can document why a variable needs to be class scope.

No global variables but you can have global constants

The Conversion to Pig Latin

A message must be present to be validated

an empty text box will be considered invalid

Non Text

If a word is not entered at all such as all digits or all special characters, return it to the user unchanged. Message them in the results no text was entered

The easiest way to break something into words is to look for the spaces between words

Think Split

Watch out for punctuation that it does not get lost in the conversion process.

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

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions

Question

How is aluminum sulfate used to purify municipal water supplies?

Answered: 1 week ago