first commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
using Prism.Events;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using Prism.Ioc;
|
||||
using static JSMachine.WMS.Common.EventBus.GlobalEventBus;
|
||||
|
||||
namespace JSMachine.WMS.Storage.BusinessModules.Views
|
||||
{
|
||||
/// <summary>
|
||||
/// PaperStorageView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class PaperStorageView : UserControl
|
||||
{
|
||||
IEventAggregator eventAggregator = ContainerLocator.Container.Resolve<IEventAggregator>();
|
||||
public PaperStorageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void DateTimePickerStart_SelectedDateTimeChanged(object sender, HandyControl.Data.FunctionEventArgs<DateTime?> e)
|
||||
{
|
||||
eventAggregator.GetEvent<SearchStorageEvent>().Publish();
|
||||
}
|
||||
|
||||
private void DateTimePickerEnd_SelectedDateTimeChanged(object sender, HandyControl.Data.FunctionEventArgs<DateTime?> e)
|
||||
{
|
||||
eventAggregator.GetEvent<SearchStorageEvent>().Publish();
|
||||
}
|
||||
|
||||
private void TxtPaperLabel_SelectionChanged(object sender, RoutedEventArgs e)
|
||||
{
|
||||
eventAggregator.GetEvent<SearchStorageEvent>().Publish();
|
||||
}
|
||||
|
||||
private void TxtSupplier_SelectionChanged(object sender, RoutedEventArgs e)
|
||||
{
|
||||
eventAggregator.GetEvent<SearchStorageEvent>().Publish();
|
||||
}
|
||||
|
||||
private void TxtPaperCode_SelectionChanged(object sender, RoutedEventArgs e)
|
||||
{
|
||||
eventAggregator.GetEvent<SearchStorageEvent>().Publish();
|
||||
}
|
||||
|
||||
private void TxtPaperWidth_SelectionChanged(object sender, RoutedEventArgs e)
|
||||
{
|
||||
eventAggregator.GetEvent<SearchStorageEvent>().Publish();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user