|
123456789101112131415161718192021 |
- using System.Windows.Input;
-
- namespace BPASmartClient.MorkCL.View
- {
- /// <summary>
- /// EditRawMaterialView.xaml 的交互逻辑
- /// </summary>
- public partial class EditRawMaterialView : Window
- {
- public EditRawMaterialView()
- {
- InitializeComponent();
- this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
- ActionManage.GetInstance.Register((object b) =>
- {
- this.DialogResult = (bool)b;
- this.Close();
- }, "CloseEditRawMaterialView", true);
- }
- }
- }
|