16 weeks Summary (process)

Source: Internet
Author: User

"Scoring program for volleyball game"

First, the plan
Estimate how long the task will take 7 days.

Second, the development

1. Demand Analysis

As a volleyball enthusiast, I want to know the score of the volleyball match so as to better master the score of the game.

2. Create a design document

Query for each game bureau and total score

3. Design Review

The project is relatively simple. No design Review

4. Code specification

. Using the VS2010 Programming specification

5. Concrete Design (activity Chart)

6, the specific code

private void Comboboxa_selectedindexchanged (object sender, EventArgs e)
{
if (Comboboxa.text = = "Chinese team")
{
Textboxc.text = "Chinese team";
}
if (Comboboxa.text = = "US team")
{
Textboxc.text = "USA team";
}
if (Comboboxa.text = = "Holland team")
{
Textboxc.text = "Holland team";
}

}

private void Comboboxb_selectedindexchanged (object sender, EventArgs e)
{
if (Comboboxb.text = = "Japan team")
{
Textboxd.text = "Japan team";
}
if (Comboboxb.text = = "Korea team")
{
Textboxd.text = "Korea team";
}
if (Comboboxb.text = = "England team")
{
Textboxd.text = "England team";
}
}

private void Button1_Click (object sender, EventArgs e)
{
if (Comboboxa.text = = "Chinese team" && comboboxb.text = = "Japan" &&comboboxju.text== "first inning")
{
TextBox1.Text = "25";
TextBox2.Text = "23";
}
if (Comboboxa.text = = "Chinese team" && comboboxb.text = = "Japan" && comboboxju.text = = "Second inning")
{
TextBox1.Text = "25";
TextBox2.Text = "20";
}
if (Comboboxa.text = = "Chinese team" && comboboxb.text = = "Japan" && comboboxju.text = = "third inning")
{
TextBox1.Text = "24";
TextBox2.Text = "25";
}
if (Comboboxa.text = = "Chinese team" && comboboxb.text = = "Japan" && comboboxju.text = = "four innings")
{
TextBox1.Text = "25";
TextBox2.Text = "19";
}
if (Comboboxa.text = = "Chinese team" && comboboxb.text = = "Japan" && Comboboxju.text = = "Fifth inning")
{
TextBox1.Text = "5";
TextBox2.Text = "15";
}
if (Comboboxa.text = = "USA" && Comboboxb.text = "Korea team" && Comboboxju.text = "first inning")
{
TextBox1.Text = "25";
TextBox2.Text = "10";
}
if (Comboboxa.text = = "USA" && comboboxb.text = "Korea" && Comboboxju.text = "second inning")
{
TextBox1.Text = "25";
TextBox2.Text = "22";
}
if (Comboboxa.text = = "USA" && comboboxb.text = "Korea" && Comboboxju.text = "third inning")
{
TextBox1.Text = "24";
TextBox2.Text = "25";
}
if (Comboboxa.text = = "USA" && comboboxb.text = = "Korea" && comboboxju.text = = "four innings")
{
TextBox1.Text = "10";
TextBox2.Text = "25";
}
if (Comboboxa.text = = "USA" && comboboxb.text = "Korea" && Comboboxju.text = "Fifth inning")
{
TextBox1.Text = "12";
TextBox2.Text = "15";
}
if (Comboboxa.text = = "Holland" && comboboxb.text = = "England" && Comboboxju.text = "first inning")
{
TextBox1.Text = "25";
TextBox2.Text = "10";
}
if (Comboboxa.text = = "Holland" && comboboxb.text = = "England" && Comboboxju.text = "second inning")
{
TextBox1.Text = "25";
TextBox2.Text = "24";
}
if (Comboboxa.text = = "Holland" && comboboxb.text = = "England" && Comboboxju.text = "third inning")
{
TextBox1.Text = "25";
TextBox2.Text = "15";
}
if (Comboboxa.text = = "Holland" && comboboxb.text = = "England" && Comboboxju.text = "four innings")
{
TextBox1.Text = "0";
TextBox2.Text = "0";
}
if (Comboboxa.text = = "Holland" && comboboxb.text = = "England" && Comboboxju.text = "Fifth inning")
{
TextBox1.Text = "0";
TextBox2.Text = "0";
}
}

private void Button2_Click (object sender, EventArgs e)
{
if (Comboboxa.text = = "Chinese team" && comboboxb.text = = "Japan team")
{
Textbox4.text = "3";
TextBox3.Text = "2";
}
if (Comboboxa.text = = "U.S. team" && Comboboxb.text = = "Korea team")
{
Textbox4.text = "2";
TextBox3.Text = "3";
}
if (Comboboxa.text = = "Holland" && comboboxb.text = = "England team")
{
Textbox4.text = "3";
TextBox3.Text = "0";
}
}

interface design and Operation results

Interface design

Run results

7, code review two hours

8. Testing

(test case) (concrete test is done)

Iii. reporting

1, the test report half an hour

2. No calculation work

3. Summary

This program has a lot of bugs, and the database base is not strong and C # Foundation is not very good,

There are many shortcomings, need to learn more, but I will continue to work hard.

16 Week summary (process)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.