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

NewFryPotMaterial.xaml.cs 1.1 KiB

2 years ago
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. }