private void HY_SystemSet_Load(object sender, EventArgs e)
        {
            //返回公司基本信息
            HY_BLL.HY_InformationBLL hyinfo = new HY_InformationBLL();
            int       I_ID = 1;
            DataTable dt   = hyinfo.comf_Information(I_ID);

            if (dt.Rows.Count > 0)
            {
                this.companyName.Text = dt.Rows[0][1].ToString();
                this.Range.Text       = dt.Rows[0][2].ToString();
                this.Address.Text     = dt.Rows[0][3].ToString();
            }

            lbHYList_BM(); //自定义部门数据绑定
            lbHYList_CK(); //自定义仓库数据绑定
        }
        private void h_OK_Click(object sender, EventArgs e)
        {
            //公司基本信息实体类实例化
            HY_Model.HY_Information m = new HY_Information();
            m.S_Company = this.companyName.Text.Trim();
            m.S_Range   = this.Range.Text.Trim();
            m.S_Address = this.Address.Text.Trim();

            //公司基本信息BLL层
            HY_BLL.HY_InformationBLL hyinfo = new HY_InformationBLL();
            int I_ID = 1;
            int res  = hyinfo.com_Information(m, I_ID);

            if (res > 0)
            {
                MessageBoxEx.Show("提示:基本信息操作成功!");
                this.Close();
            }
        }