终端一体化运控平台
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.
 
 
 

36 lines
1015 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Shapes;
  14. namespace BPASmartClient.Academy.View
  15. {
  16. /// <summary>
  17. /// ParameterSetView.xaml 的交互逻辑
  18. /// </summary>
  19. public partial class ParameterSetView : Window
  20. {
  21. public ParameterSetView()
  22. {
  23. InitializeComponent();
  24. this.gr.MouseLeftButtonDown += (o, s) => { this.DragMove(); };
  25. this.btn_cancel.Click += (s, e) => { this.Close(); };
  26. this.btn_save.Click += (s, e) =>
  27. {
  28. Json<DevicePar>.Save();
  29. MessageNotify.GetInstance.OpenMsg("参数保存成功!", EnumPromptType.Success);
  30. this.Close();
  31. };
  32. }
  33. }
  34. }