终端一体化运控平台
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

EditFunctionParamView.xaml.cs 794 B

pirms 1 gada
12345678910111213141516171819202122232425262728
  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. }