private void FrDataConfigAdd_Load(object sender, EventArgs e)
 {
     try
     {
         Dictionary <string, string> dir = DBType.GetDBTypes();
         foreach (var item in dir)
         {
             DataBaseType dataBaseType = new DataBaseType();
             dataBaseType.dataBaseName  = item.Key;
             dataBaseType.dataBsseValue = item.Value;
             dBTypeComboBox.Items.Add(dataBaseType);
             dBTypeComboBox.DisplayMember = "dataBaseName";
         }
     }
     catch (Exception ex)
     {
         //日志处理
         Loghelper.WriteErrorLog("捕获异常信息", ex);
         lr.AddLogInfo(ex.ToString(), "捕获异常信息", "捕获异常信息", "Error");
     }
 }