first commit

This commit is contained in:
2026-09-02 16:31:50 +08:00
commit a461727193
911 changed files with 692450 additions and 0 deletions
@@ -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();
}
}
}