/// <summary>
        /// 保存事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_Save_Click(object sender, EventArgs e)
        {
            try
            {
                if (NullHandleMethod())
                {
                    OthCarAttribute("", cbxCarAttribute.Text.Trim());
                    ssy = 0;
                    CarType ct = new CarType();
                    ct.CarType_UserId            = CommonalityEntity.GetInt(CommonalityEntity.USERID);
                    ct.CarType_Name              = txt_CarTypeNmae.Text.Trim();
                    ct.CarType_Content           = txt_CarTypeContent.Text.Trim();
                    ct.CarType_State             = cob_CarTypeState.Text.Trim();
                    ct.CarType_Property          = cbxCarAttribute.Text.Trim();
                    ct.CarType_Remark            = txt_CarTypeRemarks.Text.Trim();
                    ct.CarType_Validity          = cob_CarTypeEffective.Text.Trim();
                    ct.CarType_ValidityTemporary = cob_CarTypeTemporary.Text.Trim();
                    ct.CarType_OtherProperty     = butname.Trim();
                    if (!string.IsNullOrEmpty(txtInOutTime.Text.Trim()))
                    {
                        ct.CarType_InOutTime = CommonalityEntity.GetInt(txtInOutTime.Text.Trim());
                    }

                    if (!string.IsNullOrEmpty(txt_CarTemporaryValue.Text.Trim()))
                    {
                        ct.CarType_ValidityValue = CommonalityEntity.GetInt(txt_CarTemporaryValue.Text.Trim());
                    }
                    ct.CarType_Value     = txt_CarTypeValue.Text.Trim();
                    ct.CarType_CreatTime = CommonalityEntity.GetServersTime();
                    ct.CarType_UserId    = CommonalityEntity.USERID;
                    ct.CarType_DriSName  = cmbDriSta.Text;
                    ct.CarType_BusType   = txtBusType.Text.Trim();
                    if ((CarTypeDAL.InsertOneQCRecord(ct)))
                    {
                        btn_Empty_Click(btn_Empty, null);                                                                          //调用清空按钮事件
                        CommonalityEntity.WriteLogData("新增", "新增车辆类型:" + txt_CarTypeNmae.Text.Trim(), CommonalityEntity.USERNAME); //添加操作日志
                        MessageBox.Show(this, "添加成功");
                    }
                }
            }
            catch
            {
                CommonalityEntity.WriteTextLog("CarTypeForm.JudgeCarTypeUseMethod()");
                MessageBox.Show(this, "添加失败");
            }
            finally
            {
                BingMethod();
            }
        }