コード例 #1
0
ファイル: UcClaim.cs プロジェクト: PowerDD/PowerPOS-Online
        private void btnClaim_Click(object sender, EventArgs e)
        {
            var index = barcodeEntityList.Count - 1;

            FmClaim fm = new FmClaim();
            //DataTable dt = Util.DBQuery(string.Format(@"SELECT SellPrice FROM Barcode WHERE Barcode = '{0}'", UcClaim.barcode));
            sellprice = barcodeEntityList2[index].SellPrice.ToString();
            Product = barcodeEntityList2[index].Product;
            SellDate = barcodeEntityList2[index].SellDate;
            var result = fm.ShowDialog(this);
            if (result == DialogResult.Yes)
            {

            }
        }
コード例 #2
0
ファイル: UcClaim.cs プロジェクト: PowerDD/PowerPOS-Online
        private void btnClaim_Click(object sender, EventArgs e)
        {
            var index = barcodeEntityList.Count - 1;

            FmClaim fm = new FmClaim();

            //DataTable dt = Util.DBQuery(string.Format(@"SELECT SellPrice FROM Barcode WHERE Barcode = '{0}'", UcClaim.barcode));
            sellprice = barcodeEntityList2[index].SellPrice.ToString();
            Product   = barcodeEntityList2[index].Product;
            SellDate  = barcodeEntityList2[index].SellDate;
            var result = fm.ShowDialog(this);

            if (result == DialogResult.Yes)
            {
            }
        }