using Aucma.Core.OldBoxFoam.ViewModels; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace Aucma.Core.OldBoxFoam.Views { /// /// FoamPlanPageView.xaml 的交互逻辑 /// public partial class RealRoadPageView : UserControl { private RealRoadPageViewModel realRoadPageView = null; public RealRoadPageView() { InitializeComponent(); realRoadPageView = new RealRoadPageViewModel(); this.DataContext = realRoadPageView; } private void dgvMH_MouseLeftButtonDown_1(object sender, MouseButtonEventArgs e) { realRoadPageView.BoxTypeClick(sender); } private void Button_Click(object sender, RoutedEventArgs e) { realRoadPageView.BoxTypeClick(sender); } private void Button_Click_1(object sender, RoutedEventArgs e) { realRoadPageView.MaterialCodeClick(sender); } } }