private void Init()
        {
            myPackageCode = new ACMSLogic.PackageCode();
            myPackageCodeLookupEditBuilder = new ACMS.XtraUtils.LookupEditBuilder.PackageCodeForCreditPackageLookupEditBuilder(lkpEdtPackageCode.Properties, myCreditPackageID);
            ACMSDAL.TblPackage sqlPackage = new ACMSDAL.TblPackage();
            myDataTable = sqlPackage.GetValidPackageFromBranchForCreditPackageUsage(ACMSLogic.User.BranchCode, myCreditPackageID);
            DataColumn dc = new DataColumn("Tick", System.Type.GetType("System.Boolean"));

            //DataColumn dc2 = new DataColumn("nQuantity", System.Type.GetType("System.Int32"));

            myDataTable.Columns.Add(dc);
            //myDataTable.Columns.Add(dc2);

            gridControl1.DataSource = myDataTable;
        }
 private void Init()
 {
     myPackageCode = new ACMSLogic.PackageCode();
     myPackageCodeLookupEditBuilder = new ACMS.XtraUtils.LookupEditBuilder.PackageCodeForCreditPackageLookupEditBuilder(lkpEdtPackageCode.Properties, myCreditPackageID);
 }
        private void Init()
        {
            myPackageCode = new ACMSLogic.PackageCode();
            myPackageCodeLookupEditBuilder = new ACMS.XtraUtils.LookupEditBuilder.PackageCodeForCreditPackageLookupEditBuilder(lkpEdtPackageCode.Properties, myCreditPackageID);
            ACMSDAL.TblPackage sqlPackage = new ACMSDAL.TblPackage();
            myDataTable = sqlPackage.GetValidPackageFromBranchForCreditPackageUsage(ACMSLogic.User.BranchCode, myCreditPackageID);
            DataColumn dc = new DataColumn("Tick",System.Type.GetType("System.Boolean"));
            //DataColumn dc2 = new DataColumn("nQuantity", System.Type.GetType("System.Int32"));

            myDataTable.Columns.Add(dc);
               //myDataTable.Columns.Add(dc2);

            gridControl1.DataSource = myDataTable;
        }
示例#4
0
 private void Init()
 {
     myPackageCode = new ACMSLogic.PackageCode();
     myPackageCodeLookupEditBuilder = new ACMS.XtraUtils.LookupEditBuilder.PackageCodeForCreditPackageLookupEditBuilder(lkpEdtPackageCode.Properties, myCreditPackageID);
 }