You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using BBWY.Controls;
|
|
|
|
using System.Windows;
|
|
|
|
|
|
|
|
namespace BBWY.Client.Views.BatchPurchase
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// BatchCreateNewPurchaseOrder.xaml 的交互逻辑
|
|
|
|
/// </summary>
|
|
|
|
public partial class BatchCreateNewPurchaseOrder : BWindow
|
|
|
|
{
|
|
|
|
public BatchCreateNewPurchaseOrder()
|
|
|
|
{
|
|
|
|
InitializeComponent();
|
|
|
|
this.Loaded += BatchCreateNewPurchaseOrder_Loaded;
|
|
|
|
this.Unloaded += BatchCreateNewPurchaseOrder_Unloaded;
|
|
|
|
}
|
|
|
|
|
|
|
|
private void BatchCreateNewPurchaseOrder_Unloaded(object sender, RoutedEventArgs e)
|
|
|
|
{
|
|
|
|
GalaSoft.MvvmLight.Messaging.Messenger.Default.Unregister(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
private void BatchCreateNewPurchaseOrder_Loaded(object sender, RoutedEventArgs e)
|
|
|
|
{
|
|
|
|
GalaSoft.MvvmLight.Messaging.Messenger.Default.Register<bool>(this, "BatchCreateNewPurchaseOrderClose", (r) =>
|
|
|
|
{
|
|
|
|
this.DialogResult = r;
|
|
|
|
this.Close();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|