using Aucma.Core.SheetMetal.ViewModels; using System.Windows.Controls; using System.Windows.Input; using Aucma.Core.SheetMetal.Common; namespace Aucma.Core.SheetMetal.Views { /// /// BomMaintenancePageView.xaml 的交互逻辑 /// public partial class BomMaintenancePageView : UserControl { public BomMaintenancePageView() { InitializeComponent(); this.DataContext = new BomMaintenancePageViewModel(); } //在载入行的时候在行表头添加编号 private void dgvMH_LoadingRow(object sender, DataGridRowEventArgs e) { e.Row.Header = (e.Row.GetIndex() + 1).ToString(); } private void queryParam_PreviewMouseDoubleClick(object sender, MouseButtonEventArgs e) { CommHelper.OpenOsk(); } } }