コード例 #1
0
        public FormAddRewards(ACMSLogic.POS pos)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            myPOS = pos;
            ACMSDAL.TblCategory category = new ACMSDAL.TblCategory();
            category.NCategoryID = pos.NCategoryID;
            category.SelectOne();

            myRewardCodeLookupBuilder = new ACMS.XtraUtils.LookupEditBuilder.RewardCodeLookupEditBuilder(lookUpEdit1.Properties,
                                                                                                         myPOS.StrBranchCode, ACMS.Convert.ToInt32(category.NSalesCategoryID));
        }
コード例 #2
0
ファイル: FormAddRewards.cs プロジェクト: kimykunjun/test
        public FormAddRewards(ACMSLogic.POS pos)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            myPOS = pos;
            ACMSDAL.TblCategory category = new ACMSDAL.TblCategory();
            category.NCategoryID = pos.NCategoryID;
            category.SelectOne();

            myRewardCodeLookupBuilder = new ACMS.XtraUtils.LookupEditBuilder.RewardCodeLookupEditBuilder(lookUpEdit1.Properties,
                myPOS.StrBranchCode, ACMS.Convert.ToInt32(category.NSalesCategoryID));
        }