终端一体化运控平台
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

NewLocalRecipeView.xaml.cs 1.1 KiB

123456789101112131415161718192021222324252627282930313233
  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.DosingHKProject.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. }