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

ChangeDeviceNameView.xaml.cs 699 B

1 vuosi sitten
123456789101112131415161718192021
  1. using BPA.Helper;
  2. using System;
  3. using System.Windows;
  4. using System.Windows.Input;
  5. namespace BPASmartClient.FoodStationTest.View
  6. {
  7. /// <summary>
  8. /// ChangeDeviceNameView.xaml 的交互逻辑
  9. /// </summary>
  10. public partial class ChangeDeviceNameView : Window
  11. {
  12. public ChangeDeviceNameView()
  13. {
  14. InitializeComponent();
  15. ActionManage.GetInstance.CancelRegister("ChangeDeviceNameViewClose");
  16. ActionManage.GetInstance.Register(new Action(() => { this.Close(); }), "ChangeDeviceNameViewClose");
  17. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  18. }
  19. }
  20. }