Esempio n. 1
0
        public MemberRecord(string aBranchCode)
        {
            myCurrentBranch = aBranchCode;
            myMember        = new TblMember();
            InitLookupEdit();

            dtblPreset = myMember.SelectLast15(myCurrentBranch);
        }
Esempio n. 2
0
 //DEREK DNC UPDATE 2014-03-03
 public void RefreshPreset(int preset, string strMembershipID, string aBranchCode)
 {
     if (preset == 0)
     {
         dtblPreset = myMember.SelectLast15(aBranchCode);
     }
     else if (preset == 1)
     {
         dtblPreset = myMember.SelectBirthOfMonth(aBranchCode);
     }
     else if (preset == 2)
     {
         dtblPreset = myMember.SelectExpireInAWeek(aBranchCode);
     }
     else
     {
         dtblPreset = myMember.SelectFixedOne(strMembershipID, aBranchCode);
     }
 }