终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

RecipeInfosView.xaml.cs 1.2 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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.JXJFoodBigStation.View
  16. {
  17. /// <summary>
  18. /// NewRecipeView.xaml 的交互逻辑
  19. /// </summary>
  20. public partial class RecipeInfosView : Window
  21. {
  22. public RecipeInfosView()
  23. {
  24. InitializeComponent();
  25. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  26. ActionManage.GetInstance.CancelRegister("CloseRecipeInfosView");
  27. ActionManage.GetInstance.Register(new Action(() => { this.Close(); }), "CloseRecipeInfosView");
  28. }
  29. private void Button_Click(object sender, RoutedEventArgs e)
  30. {
  31. this.Close();
  32. }
  33. private void ComboBox_KeyUp(object sender, KeyEventArgs e)
  34. {
  35. }
  36. private void ComboBox_LostFocus(object sender, RoutedEventArgs e)
  37. {
  38. }
  39. }
  40. }