private void searchControl1_Properties_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            FrmQueryExpressCompany frm = new FrmQueryExpressCompany();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                txt承运公司.Text = frm.SelectName;
                txt承运公司.Tag  = frm.SelectID;
            }
        }
 private void sr承运公司_Properties_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     try
     {
         FrmQueryExpressCompany frm = new FrmQueryExpressCompany();
         if (frm.ShowDialog() == DialogResult.OK)
         {
             sr承运公司.Text = frm.SelectName;
             sr承运公司.Tag  = frm.SelectID;
         }
     }
     catch (Exception ex)
     {
         LogError(ex);
     }
 }