Ejemplo n.º 1
0
        private int getChequeRefferences(int userid)
        {
            ReferChequeBL     bl     = new ReferChequeBL();
            ReferChequeEntity entity = bl.getByUserId(userid);

            return(entity.Tables[entity.FilledTableName].Rows.Count);
        }
Ejemplo n.º 2
0
        private void removeUserRefs(int userid)
        {
            ReferChequeBL cbl = new ReferChequeBL();
            ReferLetterBL rbl = new ReferLetterBL();

            cbl.removeUserRefer(userid);
            rbl.removeUserRefer(userid);
        }
Ejemplo n.º 3
0
        public void initForm(int chequeId)
        {
            ReferChequeBL     refChequeBl = new ReferChequeBL();
            ReferChequeEntity entity      = refChequeBl.get(chequeId);

            System.Collections.Hashtable hash = new Hashtable();
            hash.Add("colorField", "COLOR");

            //_gridTools.bindDataToGrid(dataGridView1, entity, new GridTools.changingRow(_gridTools.changeColor), hash);
            _gridTools.bindDataToGrid(dataGridView1, entity, null, hash);
        }