终端一体化运控平台
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

34 rader
1.1 KiB

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