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

42 lines
1.1 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Shapes;
  14. namespace BPASmartClient.MorkCL.View
  15. {
  16. /// <summary>
  17. /// ManualSetItemStorageView.xaml 的交互逻辑
  18. /// </summary>
  19. public partial class ManualSetItemStorageView : Window
  20. {
  21. public ManualSetItemStorageView()
  22. {
  23. InitializeComponent();
  24. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  25. ActionManage.GetInstance.Register((object b) =>
  26. {
  27. this.DialogResult = (bool)b;
  28. this.Close();
  29. }, "CloseManualSetStorageView", true);
  30. }
  31. private void Button_Click(object sender, RoutedEventArgs e)
  32. {
  33. this.DialogResult = false;
  34. this.Close();
  35. }
  36. }
  37. }