终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

41 line
1.1 KiB

  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 BPASmart.RecipeManagement.View
  16. {
  17. /// <summary>
  18. /// CreateOrder.xaml 的交互逻辑
  19. /// </summary>
  20. public partial class CreateOrder : Window
  21. {
  22. public CreateOrder()
  23. {
  24. InitializeComponent();
  25. ActionManage.GetInstance.CancelRegister("CloseCreateOrderView");
  26. ActionManage.GetInstance.Register(new Action(() => { this.Close(); }), "CloseCreateOrderView");
  27. }
  28. private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
  29. {
  30. this.DragMove();
  31. }
  32. private void Button_Click(object sender, RoutedEventArgs e)
  33. {
  34. this.Close();
  35. }
  36. }
  37. }