Personal Development Summary

Source: Internet
Author: User

Personal Development Plan: program development takes 6-7 days, possibly more time!

User story: As an audience, want to know the score of the match

The user opens into the interface, the user chooses their own team to see the results of the match, click on the OK button to view the game results in the text box.

Public partial class Form1:form {Action action = new Action ();        Public Form1 () {InitializeComponent ();        } int i = 1;            private void Btnh_click (object sender, EventArgs e) {int H = Convert.ToInt32 (Txth.text);            int L = Convert.ToInt32 (Txtl.text);            int H1 = Convert.ToInt32 (Txth1.text);            int L1 = Convert.ToInt32 (Txtl1.text); Txth.text = (h+1).                       ToString (); if (H >= && (h-l) > 1) {txth1.text = (Convert.ToInt32 (txth1.text) + 1).                ToString (); if ((H1 + L1) = = 0) {Txtcount1.text + = "First" + (i++) + "bureau:" + txth.text + ":" + txtl.text                ; } if ((H1 + L1) = = 1) {Txtcount2.text + = "+" + (i++) + "bureau:" + txth.text                + ":" + txtl.text;           } if ((H1 + L1) = = 2) {         Txtcount3.text + + + (i++) + "bureau:" + txth.text + ":" + txtl.text; } if ((H1 + L1) = = 3) {Txtcount4.text + = "+" + (i++) + "bureau:" + txth.text                + ":" + txtl.text; } if ((H1 + L1) = = 4) {Txtcount5.text + = "+" + (i++) + "bureau:" + txth.text                + ":" + txtl.text;                } Txth.text = "0";                Txtl.text = "0";                    if (Txth1.text = = "3") {MessageBox.Show ("one team wins");                    Insert ();                    Txth.text = "0";                    Txth1.text = "0";                    Txtl.text = "0";                    Txtl1.text = "0";                    Txtcount1.clear ();                    Txtcount2.clear ();                    Txtcount3.clear ();                    Txtcount4.clear ();                Txtcount5.clear ();      }} if (H1 + L1 > 3)      {if (H >= && (h-l) > 1) {txth1.text = (Convert . ToInt32 (Txth1.text) + 1).                    ToString (); if ((H1 + L1) = = 4) {Txtcount5.text + = "First" + (i++) + "bureau:" + txth.text + ":" + t                    Xtl.text + "\ r \ n";                    } Txth.text = "0";                    Txtl.text = "0";                        if (Txth1.text = = "3") {MessageBox.Show ("one team wins");                        Insert ();                        Txth.text = "0";                        Txth1.text = "0";                        Txtl.text = "0";                        Txtl1.text = "0";                        Txtcount1.clear ();                        Txtcount2.clear ();                        Txtcount3.clear ();                        Txtcount4.clear ();                        Txtcount5.clear ();                    i = 1;    }                }        }} private void Btnl_click (object sender, EventArgs e) {int H = Conv Ert.            ToInt32 (Txth.text);            int L = Convert.ToInt32 (Txtl.text);            int H1 = Convert.ToInt32 (Txth1.text);            int L1 = Convert.ToInt32 (Txtl1.text); Txtl.text = (l+1).            ToString (); if (l>= 24&& (l-h) >1) {Txtl1.text = (Convert.ToInt32 (txtl1.text) + 1).                ToString (); if ((H1 + L1) = = 0) {Txtcount1.text + = "First" + (i++) + "bureau:" + txth.text + ":" + txtl.text                ; } if ((H1 + L1) = = 1) {Txtcount2.text + = "+" + (i++) + "bureau:" + txth.text + ":" + txtl.te                xt } if ((H1 + L1) = = 2) {Txtcount3.text + = "+" + (i++) + "bureau:" + txth.text                + ":" + txtl.text; } if ((H1 + L1) = = 3) {txtCount4.Text + = "+" + (i++) + "bureau:" + txth.text + ":" + txtl.text; } if ((H1 + L1) = = 4) {Txtcount5.text + = "+" + (i++) + "bureau:" + txth.text                + ":" + txtl.text;                } Txth.text = "0";                Txtl.text = "0";                    if (Txtl1.text = = "3") {MessageBox.Show ("Two teams win");                    Insert ();                    Txth.text = "0";                    Txth1.text = "0";                    Txtl.text = "0";                    Txtl1.text = "0";                    Txtcount1.clear ();                    Txtcount2.clear ();                    Txtcount3.clear ();                    Txtcount4.clear ();                Txtcount5.clear ();                }} if (H1 + L1 > 3) {if (L >= && (l-h) > 1) {Txtl1.text = (Convert.ToInt32 (txtl1.text) + 1).                ToString ();    if ((H1 + L1) = = 4) {Txtcount5.text + = "+" + (i++) + "bureau:" + txth.text + ":"                    + Txtl.text;                    } Txth.text = "0";                    Txtl.text = "0";                        if (Txtl1.text = = "3") {MessageBox.Show ("Two teams win");                        Insert ();                        Txth.text = "0";                        Txth1.text = "0";                        Txtl.text = "0";                        Txtl1.text = "0";                        Txtcount1.clear ();                        Txtcount2.clear ();                        Txtcount3.clear ();                        Txtcount4.clear ();                        Txtcount5.clear ();                    i = 1; }                }            }                   }

Personal Development Summary

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.