示例#1
0
        private void btnLines_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            ProductInfo myWareInfo = _productView.GetCurData <ProductInfo>();

            if (myWareInfo != null)
            {
                UiLines import = new UiLines(myWareInfo.ProductID, myWareInfo.ProductName);
                ShowPopForm(import, string.Format("商品[{0}-{1}]价格趋势图", myWareInfo.ProductID, myWareInfo.ProductName));
            }
        }
示例#2
0
 private void btnLines_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     ProductInfo myWareInfo = _productView.GetCurData<ProductInfo>();
     if (myWareInfo != null)
     {
         UiLines import = new UiLines(myWareInfo.ProductID, myWareInfo.ProductName);
         ShowPopForm(import, string.Format("商品[{0}-{1}]价格趋势图", myWareInfo.ProductID, myWareInfo.ProductName));
     }
     
 }