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)); } }
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)); } }