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

28 行
794 B

  1. using System.Windows.Input;
  2. namespace BPASmartClient.MorkCL.View
  3. {
  4. /// <summary>
  5. /// EditFunctionParamView.xaml 的交互逻辑
  6. /// </summary>
  7. public partial class EditFunctionParamView : Window
  8. {
  9. public EditFunctionParamView()
  10. {
  11. InitializeComponent();
  12. this.br.MouseLeftButtonDown += (o, e) => { if (e.LeftButton == MouseButtonState.Pressed) this.DragMove(); };
  13. ActionManage.GetInstance.Register((object b) =>
  14. {
  15. this.DialogResult = (bool)b;
  16. this.Close();
  17. }, "CloseFuncParmEditView", true);
  18. }
  19. private void Button_Click(object sender, RoutedEventArgs e)
  20. {
  21. this.DialogResult = false;
  22. this.Close();
  23. }
  24. }
  25. }