using Aucma.Core.PalletizCX1.ViewModels; using System.Windows.Controls; using System.Windows.Input; namespace Aucma.Core.PalletizCX1.Views { /// /// PlanPageView.xaml 的交互逻辑 /// public partial class PalletizPageView : UserControl { PalletizPageViewModel model = new PalletizPageViewModel(); public PalletizPageView() { InitializeComponent(); this.DataContext = model; } private void dataGrid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { model.MouseClick(sender); } } }