Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Many of the features in this assignment are like the ones you worked on before. However, you will be familiar with the concept of text

Many of the features in this assignment are like the ones you worked on before. However, you will be familiar with the concept of text file processing through this lab. As you saw in the video, by using notepad, you will create a text file that initially has three state abbreviations. You will place this file inside the Bin/Debug folder of your C# program to avoid addressing the specific path. You will be reading this file into a combo box. Once an item inside the Combo box is clicked, an image representing that state will be displayed. A related tooltip for the image will pop up on the image and the full state name will be displayed in the related textbox. So, if OR is selected, Oregon will be displayed in the State Textbox. The textbox should not allow the user to type in any data. If the textbox is blank and the user clicks on the File Process button an error message will be displayed. Once an item from the Combo box is selected and the name of the state has appeared in the textbox, you can add the states electoral information to the List View by clicking the File Process button. Duplicate entries are not allowed in this process and duplicate entries will not be added to the List View. By clicking on the total, the total electoral votes will be calculated and displayed in the Total label. Next, the user should click on the Append button. The user will see a validated Input box, which validates and accepts the users input. Valid state abbreviations will be displayed in the Combo box and will be saved in the States Text file. No duplicate state abbreviation is allowed. You will also save data under the exit button for the safety of the data. See the demos that are posted in your module. As stated, the Total button will show the total electoral votes. The clear button will clear all the displayed data on the form. See the video.
Once again, you need to review all posted materials, including the assigned chapter of the book, the videos, the lectures, and sample programs.
Here is the initial Text File:
Here is the initial Text File:
And here is an appended file (there could be more state names)
PROGRAM DESIGN
No Program design is needed
GUI DESIGN
No GUI design is needed
You have all the needed tools. We will be covering the List View tool this week. Place all controls on the form and make sure that the controls match with your program design and naming convention.
FUNCTIONALITY TIPS
Your program should catch duplicates.
The last part is showing the total for Electoral College votes.
The forms exit button and your programs exit button must be validated as seen in the video. The clear button speaks for itself.
LIST OF MANDATORY FEATURES
In addition to the tools that you see, you must use the following:
Try-Catch
Switch Case
Conditional Statements
Loops
Tool Tips
ComboBox
List View
Inputbox
Buttons
TextBox
GroupBox
Contains
Files (chapter 5, module 5, sample programs)
At least two methods (chapter 6 and samples)
Additional features that you see in the video
GRADING
Grading is similar to what we had before and it is broken in the following criteria:
Variable, Objects, and Module Naming
5
Logic
15
.
Formatting and Syntax
15
Adherence to Spec
10
Implementation
15
.
SUBMISSION
Your submission should include a zip file for your C# folder. No need for program design
See the video under the Lab 5 Videohttps://online.pcc.edu/content/enforced/518979-25117.202402.CIS133N/PastedImage_prxycurj5hp2jilmmp4ll8bk9al3agtz001111056936.png?ou=518979

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_2

Step: 3

blur-text-image_3

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part I Lnai 8724

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448475, 978-3662448472

More Books

Students also viewed these Databases questions