Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

115381: Apply the principles of creating a computer program using an OOP language in a environment 1. Create a program that allows the user to

image text in transcribed

image text in transcribed

image text in transcribed

115381: Apply the principles of creating a computer program using an OOP language in a environment 1. Create a program that allows the user to enter a new word or concatenate two words. Display the concatenated word in the Label control.(S01:AC1, SO3:AC1|) The application should look as follows: The following checks must be in place if the user chooses to enter a new word: - Check that there is a word entered into the TextBox control when the user presses the Add button. - Check that the word has not been entered more than once. - Check if the TextBox control is empty or contains the same word twice. If so, display a MessageBox with an appropriate message. - Display a MessageBox to inform the user that the new word has been added. Alternatively, the user can select or remove a word from both the ComboBox controls before pressing the concatenate button. The following must be in place for removing a word from a combo box: - Ensure that a word has been selected from a ComboBox control. - If not, display a MessageBox with an approprlate message. - When the Remove Item radio button is clicked, the concatenate button text must read 'Remove Item'. - Check which radio button is selected and remove the word from the corresponding ComboBox when the Rernove Itern button is clicked. - Display a MessageBox with an appropriate message when a word is removed. Ensure that the application uses only one button for removing and one button for concatenating the words. The following checks must be in place for concatenating two words: - Ensure that a word has been selected from both ComboBox controls. - If not, display a Messagebox with an appropriate message. - Check that different words have been selected from the ComboBox controls, i.e. ComboBox one cannot have the same word selected as ComboBox two. The new words added must be placed in an Arrayl ist collection when the Add button is pressed. Another Arrayl ist collection must be created to store the words after these have been concatenated. Display a MessageBox notifying the user that the word has been added to the collection. The Label control's background colour must be set to white and the font size of the Label control must be set to 10 . Set the Dock property of the Label control to bottom. Once the concatenated word is then displayed in the label, the application should look as follows: Words Enter a new word: Bye Add word OR Select a word: Select another word: Hello Remove Concatenate HelloBye

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions