MainWindow.xaml.cs 650 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Windows;
  3. using System.Windows.Input;
  4. namespace DataDisplayBoard
  5. {
  6. /// <summary>
  7. /// MainWindow.xaml 的交互逻辑
  8. /// </summary>
  9. public partial class MainWindow : Window
  10. {
  11. public MainWindow()
  12. {
  13. InitializeComponent();
  14. }
  15. private void Window_MouseMove(object sender, MouseEventArgs e)
  16. {
  17. try
  18. {
  19. if (e.LeftButton == MouseButtonState.Pressed)
  20. {
  21. //this.DragMove();
  22. }
  23. }
  24. catch(Exception ex)
  25. {
  26. }
  27. }
  28. }
  29. }