public void LoadData(BBLInfo _info)
        {
            string clientCode = ConfigurationManager.AppSettings["CLIENTCODE"];

            currentClient = new BBLClient().GetAll().FirstOrDefault(x=>x.ClientCode==clientCode);

            if (currentClient == null) {
                MessageBox.Show("Xác minh lại thiết lập Máy Trạm");
                new FrmConfig().ShowDialog();
            }

            this.info = _info;
            lstInfo = info.GetAll().Where(x=>x.IsDeleted==0);
            List<TblInfor> lst = new List<TblInfor>();

            lst.AddRange(lstInfo);

            lstInfo = lst;
            RunFilter();
        }
        public void LoadData(BBLInfo _info)
        {
            if (currentUser.Permission == Permission.Normal) chkStatus.Enabled = false;

            string clientCode = ConfigurationManager.AppSettings["CLIENTCODE"];

            currentClient = new BBLClient().GetAll().FirstOrDefault(x => x.ClientCode == clientCode);

            if (currentClient == null)
            {
                MessageBox.Show("Xác minh lại thiết lập Máy Trạm");
                new FrmConfig().ShowDialog();
            }

            this.info = _info;
            lstInfo = info.GetAll().Where(x => x.IsDeleted == 0).ToList();
            //List<TblInfor> lst = new List<TblInfor>();

            //lst.AddRange(lstInfo);

            //lstInfo = lst;
            SettingAutoSuggest();
            RunFilter();
        }