Party Organizer

Party Organizer

My Student Project: C# for Beginners: Assignment #4 (Series)

Permission to publish my code submitted for the project assignment was granted by the professor.

This is a very simple windows form application that I completed for a class assignment. It is shown here to illustrate my coding style, structure, and commenting. This example is considered Level 1 – Easy.

Objectives

The main objectives of this assignment are:

• To learn using one-dimensional arrays.

• To learn how to write and use properties to access values saved in the private fields of an object.
In addition, exercise more with strings and also learn to use a ListBox for display of results. Keep the presentation of data (interaction with the user, input/output) from the logic behind data processing.

Description

Apu (a user) is often asked to manage and organize parties. He would like to have a simple application that lists the names of the people to be invited to a party and also get an idea of the total cost based on an estimated cost per guest. We use a form object (MainForm) for the GUI and a class Party to contain the logic pertaining to party arrangements. For saving the names of the guests, use a one-dimensional array of strings in the Party class. MainForm declares a variable of the Party class as its field. We refer to this object as a party (with a small p).

MainForm should handle all the interactions (input/output) between the user and the application, and it should not contain logic that is (or can be) a part of the Party class’ responsibility. Every logic concerning the party, except processing of input and display of output, should be coded in the Party class.

Demos

Main Application Window

Main Application Window

User Input Validation

User Input Validation

Party List Object Creation

Party List Object Creation

More Data Entry Validation

Changing a Guest

After changing a guest, then deleting a guest

After deleting a guest

My Solution Code

You can view and download the GitHub repository here.

You can also download a zip archive of the project code here.

Kathleen has 15 yrs. of experience analyzing business IT needs and engineering solutions in payments, electric utilities, pharmaceutical, financial, virtual reality, and internet industries with a variety of technologies. Kathleen's project experience has been diverse ranging from executing the business analysis “design phase” to hands-on development, implementation, and testing of the IT solutions. Kathleen and her husband reside in Indiana with no children, instead living along with their fur babies.