private void txtPatID_TextChanged(object sender, EventArgs e)
 {
     selectClass.selectname(txtPatID.Text.Trim());
     textBox1.Text = selectClass.fullName;
 }
示例#2
0
 private void cboPatcode_SelectedIndexChanged(object sender, EventArgs e)
 {
     selectClass.selectname(cboPatcode.SelectedItem.ToString());
     txtPatName.Text = selectClass.fullName;
 }
示例#3
0
 private void button1_Click(object sender, EventArgs e)
 {
     selectClass.selectImage(txtPatID.Text.Trim(), pictImage);
     selectClass.selectname(txtPatID.Text.Trim());
     txtPatName.Text = selectClass.fullName;
 }