zoukankan      html  css  js  c++  java
  • 第十五周总结

    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 (m == 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 += "第" + m + "局" + (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 += "第" + m + "局" + (a1 + 1).ToString() + ":" + txta2.Text + " " + " ";
    txta1.Text = "00";
    txta2.Text = "00";
    txtc2.Text = "0";
    txtm.Text = "第 " + (m + 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 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 (m == 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 += "第" + m + "局" + (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 += "第" + m + "局" + (a1 + 1).ToString() + ":" + txta2.Text + " " + " ";
    txta1.Text = "00";
    txta2.Text = "00";
    txtc2.Text = "0";
    txtm.Text = "第 " + (m + 1) + " 场";
    m = m + 1;

    }
    }

    }

  • 相关阅读:
    基本数据类型-(字符串_数字_列表_元组_字典_集合)基本数据类型-(字符串_数字_列表_元组_字典_集合)
    python列表基础操作
    Python字符串基本操作
    字符编码
    python基础-循环
    差分
    第一冲刺阶段(第四天)
    第一冲刺阶段(第三天)
    第一冲刺阶段(第二天)
    第一冲刺阶段(第一天)
  • 原文地址:https://www.cnblogs.com/lyw1/p/6195000.html
Copyright © 2011-2022 走看看