提交代码
This commit is contained in:
40
货架标准上位机/Views/OutInventoryDocumentMatDetailView.xaml.cs
Normal file
40
货架标准上位机/Views/OutInventoryDocumentMatDetailView.xaml.cs
Normal file
@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Media;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using WCS.Model.ApiModel.OutStore;
|
||||
|
||||
|
||||
namespace 货架标准上位机
|
||||
{
|
||||
public partial class OutInventoryDocumentMatDetailView : HandyControl.Controls.Window
|
||||
{
|
||||
public OutInventoryDocumentMatDetailView(List<OutOrderMatDetailModel> _matBaseInfo = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
if (_matBaseInfo != null )
|
||||
{
|
||||
dg1.ItemsSource= _matBaseInfo;
|
||||
}
|
||||
}
|
||||
|
||||
private void closeClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
this.DialogResult = false;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void DataGrid_SelectedCellsChanged(object sender, SelectedCellsChangedEventArgs e)
|
||||
{
|
||||
DataGrid datagrid = sender as DataGrid;
|
||||
datagrid.UnselectAllCells();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user