示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     using (textboxbutton tb = new textboxbutton())
     {
         if (tb.ShowDialog() == DialogResult.OK)
         {
         }
     }
 }
示例#2
0
 private void button1_Click_1(object sender, EventArgs e)
 {
     using (textboxbutton tb = new textboxbutton())
     {
         tb.Temp = Temp;
         tb.ID   = ID;
         tb.DES  = DES;
         if (tb.ShowDialog() == DialogResult.OK)
         {
             //获得PA PA_ 同时S==PA
             this.textBox1.Text = tb.T1;
             PA  = tb.T;
             PA_ = tb.T1;
             S   = PA;
         }
     }
 }