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

FoodManagerView.xaml.cs 1.1 KiB

2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. 
  2. using BPA.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 BPASmartClient.MorkBF.VIew
  17. {
  18. /// <summary>
  19. /// FoodManagerView.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class FoodManagerView : Window
  22. {
  23. public FoodManagerView()
  24. {
  25. InitializeComponent();
  26. ActionManage.GetInstance.CancelRegister("FoodManagerViewClose");
  27. ActionManage.GetInstance.Register(new Action(()=>
  28. {
  29. this.Close();
  30. }), "FoodManagerViewClose");
  31. }
  32. private void Button_Click(object sender, RoutedEventArgs e)
  33. {
  34. ActionManage.GetInstance.Send("FoodManagerViewClose");
  35. }
  36. private void Grid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
  37. {
  38. this.DragMove();
  39. }
  40. }
  41. }