终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

NewLocalRecipeView.xaml.cs 1.1 KiB

1234567891011121314151617181920212223242526272829303132333435
  1. using BPASmartClient.Helper;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Navigation;
  15. using System.Windows.Shapes;
  16. namespace BPASmartClient.JXJFoodSmallStation.View
  17. {
  18. /// <summary>
  19. /// DeviceMaterialParView.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class NewLocalRecipeView : Window
  22. {
  23. public NewLocalRecipeView()
  24. {
  25. InitializeComponent();
  26. this.Close.Click += (o, e) => { this.Close(); };
  27. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  28. ActionManage.GetInstance.CancelRegister("CloseNewRemoteRecipeView");
  29. ActionManage.GetInstance.Register(new Action(() => { this.Close(); }), "CloseNewRemoteRecipeView");
  30. }
  31. }
  32. }