同上一条
This commit is contained in:
1 parent
8e33d095f3
commit
d1bcdc9815
2 files changed
+13
-4
No files matched your search
@@ -17,6 +17,7 @@ using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using Work._29Tools.Forms.ToolForms;
|
||||
|
||||
namespace _29WxOrderWpf.Ctrls.BuyerCtrls;
|
||||
|
||||
@@ -52,8 +53,13 @@ public partial class SkuSelectListRowCtrl : UserControl
|
||||
|
||||
private void imgSku_MouseDown(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
if (this.DataContext is frontSkuInfo3 frontSku)
|
||||
{
|
||||
ShowImgForm imgFrom = new ShowImgForm(frontSku.thumbUrl);
|
||||
imgFrom.TopMost = true;
|
||||
imgFrom.Show();
|
||||
}
|
||||
}
|
||||
|
||||
private void imgSku_MouseEnter(object sender, MouseEventArgs e)
|
||||
{
|
||||
|
||||
@@ -25,6 +25,7 @@ using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Work._29Tools.BLL;
|
||||
using Work._29Tools.Forms.ToolForms;
|
||||
|
||||
namespace _29WxOrderWpf.Windows.OrderWindows
|
||||
{
|
||||
@@ -45,7 +46,7 @@ namespace _29WxOrderWpf.Windows.OrderWindows
|
||||
OrderItem = orderItem;
|
||||
|
||||
ViewModel = new BuyMapSkuViewModel(orderItem);
|
||||
DataContext = ViewModel;
|
||||
this.DataContext = ViewModel;
|
||||
ViewModel.RequestClose += ViewModel_RequestClose;
|
||||
}
|
||||
|
||||
@@ -97,7 +98,9 @@ namespace _29WxOrderWpf.Windows.OrderWindows
|
||||
|
||||
private void imgSku_MouseDown(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
|
||||
ShowImgForm imgFrom = new ShowImgForm(this.OrderItem?.thumb_img);
|
||||
imgFrom.TopMost = true;
|
||||
imgFrom.Show();
|
||||
}
|
||||
|
||||
private void imgSku_MouseEnter(object sender, MouseEventArgs e)
|
||||
|
||||
Reference in new issue
Block a user