/// <summary> 选择码表
 /// </summary>
 private void txtparent_id_ChooserClick(object sender, EventArgs e)
 {
     frmDictionaries frm = new frmDictionaries();
     DialogResult result = frm.ShowDialog();
     if (result == DialogResult.OK)
     {
         txtparent_id.Text = frm.Dic_Name;
         txtparent_id.Tag = frm.Dic_ID;
     }
 }
 /// <summary> 选择码表
 /// </summary>
 private void txtparent_id_ChooserClick(object sender, EventArgs e)
 {
     try
     {
         frmDictionaries frm = new frmDictionaries();
         DialogResult result = frm.ShowDialog();
         if (result == DialogResult.OK)
         {
             txtparent_id.Text = frm.Dic_Name;
             txtparent_id.Tag = frm.Dic_ID;
         }
     }
     catch (Exception ex)
     {
         Utility.Log.Log.writeLineToLog("【字典码表】" + ex.Message, "client");
         MessageBoxEx.ShowWarning("操作失败!");
     }
 }