终端一体化运控平台
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

ChangeDeviceNameView.xaml.cs 999 B

12345678910111213141516171819202122232425262728293031
  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.Shapes;
  15. namespace BPASmartClient.JXJFoodSmallStation.View
  16. {
  17. /// <summary>
  18. /// ChangeDeviceNameView.xaml 的交互逻辑
  19. /// </summary>
  20. public partial class ChangeDeviceNameView : Window
  21. {
  22. public ChangeDeviceNameView()
  23. {
  24. InitializeComponent();
  25. ActionManage.GetInstance.CancelRegister("ChangeDeviceNameViewClose");
  26. ActionManage.GetInstance.Register(new Action(() => { this.Close(); }), "ChangeDeviceNameViewClose");
  27. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  28. }
  29. }
  30. }