终端一体化运控平台
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

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