Starting Out With Visual C# (5th Edition)
Starting Out With Visual C# (5th Edition)
5th Edition
ISBN: 9780135183519
Author: Tony Gaddis
Publisher: PEARSON
Question
Book Icon
Chapter 9, Problem 10PP
Program Plan Intro

Form design:

  • Open Microsoft Visual Studio 2010.
  • Select C# and click Windows Forms Application.
  • Name the project as NameAndEmailAddress.
  • Store the file in desire location.
  • The created project is now display with a form in the name of Form1.
  • Select the Form1 and add the necessary components.
  • In property window, change the Form name and add changes for Form elements properties.
  • Click the File menu->Save All.

View of the form design in the IDE:

Starting Out With Visual C# (5th Edition), Chapter 9, Problem 10PP

The form control properties in the properties window are as follows:

ObjectPropertySetting
Form1TextName and Email Addresses
addNameTextBoxText(Empty)
addButtonTextAdd
addEmailTextBoxText(Empty)
nameEmailListBoxItems(Empty)
searchNameTextBoxText(Empty)
searchButtonTextSearch
searchEmailLabelText(Empty)
searchChangeNameTextBoxText(Empty)
searchChangeButtonTextSearch
changeButtonTextChange
changeEmailTextBoxText(Empty)
searchDeleteNameTextBoxText(Empty)
searchDeleteButtonTextSearch
deleteButtonTextDelete
deleteEmailLabel Text(Empty)
saveExitButtonTextSave and Exit
  • Add the required label and text control to display the message and get input from the user.
  • Add button controls to execute the required operation.
  • Add a list box control to show the output.

Blurred answer

Chapter 9 Solutions

Starting Out With Visual C# (5th Edition)