You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
880 B
C#
32 lines
880 B
C#
using Aucma.Core.SheetMetal.ViewModels;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Input;
|
|
using Aucma.Core.SheetMetal.Common;
|
|
|
|
namespace Aucma.Core.SheetMetal.Views
|
|
{
|
|
/// <summary>
|
|
/// BomMaintenancePageView.xaml 的交互逻辑
|
|
/// </summary>
|
|
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();
|
|
}
|
|
}
|
|
}
|