Esempio n. 1
0
 private void FemSelect_Load(object sender, EventArgs e)
 {
     if (this.PailieMode == 3)
     {
         this.buttonX1.Visible = true; this.textBoxX29.Visible = true; this.textBoxX30.Visible = true; this.textBoxX31.Visible = true; this.textBoxX32.Visible = true; this.textBoxX33.Visible = true;
     }
     else
     {
         this.buttonX1.Visible = false; this.textBoxX29.Visible = false; this.textBoxX30.Visible = false; this.textBoxX31.Visible = false; this.textBoxX32.Visible = false; this.textBoxX33.Visible = false;
     }
     if (this.isOneOrTwo == 0)
     {
         this.textBoxX1.Text  = "情况一组合方式";
         this.textBoxX8.Text  = A1.ToString();
         this.textBoxX9.Text  = A2.ToString();
         this.textBoxX10.Text = A3.ToString();
         this.textBoxX20.Text = B1.ToString();
         this.textBoxX21.Text = B2.ToString();
         this.textBoxX22.Text = B3.ToString();
         this.textBoxX23.Text = C1.ToString();
         this.textBoxX24.Text = C2.ToString();
         this.textBoxX25.Text = C3.ToString();
         this.textBoxX26.Text = D1.ToString();
         this.textBoxX27.Text = D2.ToString();
         this.textBoxX28.Text = D3.ToString();
     }
     else if (this.isOneOrTwo == 1)
     {
         this.textBoxX1.Text  = "情况二组合方式";
         this.textBoxX8.Text  = A1.ToString();
         this.textBoxX9.Text  = A2.ToString();
         this.textBoxX10.Text = A3.ToString();
         this.textBoxX20.Text = B1.ToString();
         this.textBoxX21.Text = B2.ToString();
         this.textBoxX22.Text = B3.ToString();
         this.textBoxX23.Text = C1.ToString();
         this.textBoxX24.Text = C2.ToString();
         this.textBoxX25.Text = C3.ToString();
         this.textBoxX26.Text = D1.ToString();
         this.textBoxX27.Text = D2.ToString();
         this.textBoxX28.Text = D3.ToString();
     }
 }