终端一体化运控平台
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

46 linhas
1.1 KiB

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