private void bt_yl_Click(object sender, EventArgs e)
 {
     panel.Controls.Clear();
     //数据库获取
     dt = lisbiz.Get_TJ_DJINFO(txt_txm.Text.Trim());
     if (dt.Rows.Count > 0)//存在记录
     {
         for (int i = 0; i < lisbiz.Get_TJ_BB(txt_txm.Text.Trim()).Rows.Count; i++)
         {
             UCBarCode UcBarCode = new UCBarCode();
             UcBarCode.Location = new Point((i % 4) * 140, (i / 4) * 110);
             panel.Controls.Add(UcBarCode);
             foreach (Control control in UcBarCode.Controls)
             {
                 if (control.Name == "barcode")
                 {
                     BarcodeControl barcode = (BarcodeControl)control;
                     barcode.Data      = dt.Rows[0]["djlsh"].ToString().Trim();
                     barcode.CopyRight = dt.Rows[0]["xm"].ToString().Trim() + "  " + dt.Rows[0]["xb"].ToString().Trim() + "  " + dt.Rows[0]["nl"].ToString().Trim();
                 }
                 if (control.Name == "label")
                 {
                     Label label = (Label)control;
                     label.Text = lisbiz.Exec_Proc_tj_bbmx(lisbiz.Get_TJ_BB(txt_txm.Text.Trim()).Rows[i]["bbbh"].ToString().Trim(), lisbiz.Get_TJ_BB(txt_txm.Text.Trim()).Rows[i]["bblx"].ToString().Trim());
                 }
             }
         }
         Invalidate();
     }
     else
     {
         MessageBox.Show("该人员信息不存在,请核实!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
         txt_txm.Text       = "";
         this.ActiveControl = this.txt_txm;
     }
 }