Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Chpt. 9 pg 604, prb. 7 E-Mail Address Book (in Visual C#), From Starting Out With Visual C#, Gaddis 4th edition: I have created a

Chpt. 9 pg 604, prb. 7 E-Mail Address Book (in Visual C#), From Starting Out With Visual C#, Gaddis 4th edition:

image text in transcribed

I have created a .txt file in Visual Studio with five names, emails and address, called PhoneBook.txt.:

image text in transcribed

So far only have errors in attempts.

image text in transcribed

button1 is Create List on the Form, button2 is Exit

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; namespace Email_Address_Book { public partial class Form1 : Form { public Form1() { InitializeComponent(); }

private void button1_Click(object sender, EventArgs e) {

}

private void button2_Click(object sender, EventArgs e) {

}

private void listBox1_SelectedIndexChanged(object sender, EventArgs e) {

} } }

Thanks-

7. E-Mail Address Book Create an application with a class named PersonEntry. The PersonEntry class should have properties for a person's name, e-mail address, and phone number. Also, create a text file that contains the names, e-mail addresses, and phone numbers for at least five people. When the application starts, it should read the data from the file and create a PersonEntry object for each person's data. The PersonEntry objects should be added to a List, and each person's name should be displayed in a list box on the application's main form. When the user selects a name from the list box, a second form should appear displaying that person's name, e-mail address, and phone number

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

What are the main differences between rigid and flexible pavements?

Answered: 1 week ago

Question

What is the purpose of a retaining wall, and how is it designed?

Answered: 1 week ago

Question

How do you determine the load-bearing capacity of a soil?

Answered: 1 week ago

Question

what is Edward Lemieux effect / Anomeric effect ?

Answered: 1 week ago