终端一体化运控平台
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.

EditRawMaterialView.xaml.cs 636 B

1 year ago
123456789101112131415161718192021
  1. using System.Windows.Input;
  2. namespace BPASmartClient.MorkCL.View
  3. {
  4. /// <summary>
  5. /// EditRawMaterialView.xaml 的交互逻辑
  6. /// </summary>
  7. public partial class EditRawMaterialView : Window
  8. {
  9. public EditRawMaterialView()
  10. {
  11. InitializeComponent();
  12. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  13. ActionManage.GetInstance.Register((object b) =>
  14. {
  15. this.DialogResult = (bool)b;
  16. this.Close();
  17. }, "CloseEditRawMaterialView", true);
  18. }
  19. }
  20. }