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

NewFryPotMaterial.xaml.cs 1.1 KiB

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