QuestionQuestion

Transcribed TextTranscribed Text

Project 2-2 Maintain student scores For this project, you’ll develop an application that lets the user add students to a list, change the scores for a student in the list, and delete a student from the list. Prerequisites: chapters 1-10. The design of the Student Scores form Operation • To display the total, count, and average for a student, the user selects the student from the list box. If the list box is empty, the total, count, and average labels should be cleared. • To add a new student, the user clicks the Add New button to display the Add New Student dialog box. • To update an existing student’s scores, the user selects the student in the list box and clicks the Update button to display the Update Student Scores dialog box. • To delete a student, the user selects the student in the list box and clicks the Delete button. The design of the Add New Student form Operation • To add a new student, the user enters a student name and, optionally, one or more scores and clicks the OK button. • To add a score, the user enters a score and clicks the Add Score button. The score is added to the list of scores in the Scores label. • To remove all scores from the Scores label, the user clicks the Clear Scores button. • To cancel the add operation, the user clicks the Cancel button. The design of the Update Student Scores and Add/Update Score forms Operation • To add a score, the user clicks the Add button and enters the score in the Add Score dialog box that’s displayed. • To update a score, the user selects the score, clicks the Update button, and changes the score in the Update Score dialog box that’s displayed. • To remove a score from the Scores list box, the user selects the score and clicks the Remove button. • To remove all scores from the Scores list box, the user clicks the Clear Scores button. • To accept all changes, the user clicks the OK button. • To cancel the update operation, the user clicks the Cancel button. Specifications • This application should make sure that the user enters a name for a new student. However, a new student can be added without any scores. • This application should check all scores entered by the user to make sure that each score is a valid integer from 0 to 100. • When the application starts, it should load the list box with three sample students. Hint • To get the labels that display the score total, score count, and average on the Student Scores form, the scores on the Add New Student form, and the name on the Update Student Scores form to look like the ones shown above, you’ll need to set the AutoSize property of the labels to False and the BorderStyle property to Fixed3D.

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

namespace Project_2_2
{
    partial class frmUpdateUpdate
    {
       /// <summary>
       /// Required designer variable.
       /// </summary>
       private System.ComponentModel.IContainer components = null;

       /// <summary>
       /// Clean up any resources being used.
       /// </summary>
       /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
       protected override void Dispose(bool disposing)
       {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
       }

       #region Windows Form Designer generated code

       /// <summary>
       /// Required method for Designer support - do not modify
       /// the contents of this method with the code editor.
       /// </summary>
       private void InitializeComponent()
       {
            this.btnCancel = new System.Windows.Forms.Button();
            this.btnUpdate = new System.Windows.Forms.Button();
            this.txtScore = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.SuspendLayout();
            //
            // btnCancel
            //
            this.btnCancel.Location = new System.Drawing.Point(153, 74);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(83, 25);
            this.btnCancel.TabIndex = 7;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            //
            // btnUpdate
            //
            this.btnUpdate.Location = new System.Drawing.Point(45, 74);
            this.btnUpdate.Name = "btnUpdate";...
$63.00
for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Computer Science - Other Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats