zoukankan      html  css  js  c++  java
  • 15周总结

    计划时间 2天
    开发 3h
    需求分析 2h
    生成设计 2h
    复审 1h
    规范代码 2h
    设计 2h
    代码键入 4h
    复审 1/2h
    测试 1h
    测试报告 3h
    总结 1h
       
       

    public partial class Form1 : Form
    {
    public Form1()
    {
    InitializeComponent();
    }
    int n = 1;

    private void button1_Click(object sender, EventArgs e)
    {
    int a1 = int.Parse(txta1.Text);
    int a2 = int.Parse(txta2.Text);
    int b1 = int.Parse(txtb1.Text);
    int b2 = int.Parse(txtb2.Text);
    int c1 = int.Parse(txtc1.Text);
    int c2 = int.Parse(txtc2.Text);
    if (a1 < 9)
    {
    txta1.Text = 0 + (a1 + 1).ToString();
    }
    else
    {
    if (n == 5)
    {
    if (a1 >= 14 && a1 <= a2 || a1 < 14)
    {
    txta1.Text = (a1 + 1).ToString();
    }
    else
    {

    txtb1.Text = (b1 + 1).ToString();
    txtc1.Text = (c1 + 1).ToString();
    txtjieju.Text += "第" + n + "局" + (a1 + 1).ToString() + ":" + txta2.Text + " " + " ";
    txtc2.Text = "0";
    }
    }
    else
    {
    if (a1 >= 24 && a1 <= a2 || a1 < 24)
    {
    txta1.Text = (a1 + 1).ToString();
    }
    else
    {
    txtb1.Text = (b1 + 1).ToString();
    txtc1.Text = (c1 + 1).ToString();
    txtjieju.Text += "第" + n + "局" + (a1 + 1).ToString() + ":" + txta2.Text + " " + " ";
    txta1.Text = "00";
    txta2.Text = "00";
    txtc2.Text = "0";
    txtm.Text = "第 " + (n + 1) + " 场";
    m = m + 1;

    }
    }

    }
    if (txtb1.Text == "3")
    {
    txta1.Text = "00";
    txta2.Text = "00";
    txtb1.Text = "0";
    txtb2.Text = "0";
    txtc1.Text = "0";
    txtc2.Text = "0";
    m = 0;
    txtm.Text = "第 " + (m + 1) + " 场";
    txtjieju.Text += "第" + m + "局" + (a1 + 1).ToString() + ":" + txta2.Text + " " + " " + txtd1.Text + "胜";
    }
    }
    private void button2_Click(object sender, EventArgs e)
    {
    int a1 = int.Parse(txta1.Text);
    int a2 = int.Parse(txta2.Text);
    int b1 = int.Parse(txtb1.Text);
    int b2 = int.Parse(txtb2.Text);
    int c1 = int.Parse(txtc1.Text);
    int c2 = int.Parse(txtc2.Text);
    if (a2 < 9)
    {
    txta2.Text = 0 + (a2 + 1).ToString();
    }
    else
    {
    if (n == 5)
    {
    if (a2 >= 14 && a2 <= a1 || a2 < 14)
    {
    txta2.Text = (a2 + 1).ToString();
    }
    else
    {

    txtb2.Text = (b2 + 1).ToString();
    txtc2.Text = (c2 + 1).ToString();
    txtjieju.Text += "第" + m + "局" + txta1.Text + ":" + (a2 + 1).ToString() + " " + " ";
    txta1.Text = "00";
    txta2.Text = "00";
    txtc1.Text = "0";
    }
    }
    if (a2 >= 24 && a2 <= a1||a2<24)
    {
    txta2.Text = (a2 + 1).ToString();
    }
    else
    {
    txtb2.Text = (b2 + 1).ToString();
    txtc2.Text = (c2 + 1).ToString();
    txtjieju.Text += "第" + m + "局" + txta1.Text + ":" + (a2 + 1).ToString() + " " + " ";
    txta1.Text = "00";
    txta2.Text = "00";
    txtc1.Text = "0";
    txtm.Text = "第 " + (m + 1) + " 场";
    n = n + 1;
    }

    }
    if (txtb2.Text == "3")
    {
    txta1.Text = "00";
    txta2.Text = "00";
    txtb1.Text = "0";
    txtb2.Text = "0";
    txtc1.Text = "0";
    txtc2.Text = "0";
    m = 0;
    txtm.Text = "第 " + (n + 1) + " 场";
    txtjieju.Text += "第" + n + "局" + txta1.Text + ":" + (a2 + 1).ToString() + " " + " " + txtd2.Text + "胜";
    }
    }

  • 相关阅读:
    Tomcat6.0 sqlServer2000 配置连接池操作
    SQL GROUP BY 实例
    Java 获取当前系统时间 格式:yyyyMMdd HH:mm:ss
    银行科技与业务融合之道
    银行IT部门科技管理流程管控工作发展之路
    银行科技管理工作优化提升之我见
    事务脚本的缺点以及领域模型的优点
    异常的分级分类与处理策略
    软件高性能的思考
    软件行业的一个发展推力就是不断提高用来构造软件的基础元素,也就是所谓的编程模型
  • 原文地址:https://www.cnblogs.com/abc1/p/6195231.html
Copyright © 2011-2022 走看看