终端一体化运控平台
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

NewRecipeView.xaml.cs 1023 B

1234567891011121314151617181920212223242526272829303132
  1. using BPASmartClient.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.DosingHKProject.View
  16. {
  17. /// <summary>
  18. /// NewRecipeView.xaml 的交互逻辑
  19. /// </summary>
  20. public partial class NewRecipeView : Window
  21. {
  22. public NewRecipeView()
  23. {
  24. InitializeComponent();
  25. this.btClose.Click += (o, e) => { this.Close(); };
  26. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  27. ActionManage.GetInstance.CancelRegister("CloseNewRecipeView");
  28. ActionManage.GetInstance.Register(new Action(() => { this.Close(); }), "CloseNewRecipeView");
  29. }
  30. }
  31. }