终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
684 B

  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. /// SelectRecipesView.xaml 的交互逻辑
  9. /// </summary>
  10. public partial class SelectRecipesView : Window
  11. {
  12. public SelectRecipesView()
  13. {
  14. InitializeComponent();
  15. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  16. ActionManage.GetInstance.CancelRegister("CloseSelectRecipesView");
  17. ActionManage.GetInstance.Register(new Action(() => { this.Close(); }), "CloseSelectRecipesView");
  18. }
  19. }
  20. }