星火微课系统客户端
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.

FileDirectoryWindow.xaml.cs 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 XHWK.WKTool
  15. {
  16. /// <summary>
  17. /// 文件目录
  18. /// </summary>
  19. public partial class FileDirectoryWindow : Window
  20. {
  21. /// <summary>
  22. /// 文件目录
  23. /// </summary>
  24. public FileDirectoryWindow()
  25. {
  26. InitializeComponent();
  27. }
  28. /// <summary>
  29. /// 关闭
  30. /// </summary>
  31. /// <param name="sender"></param>
  32. /// <param name="e"></param>
  33. private void btnDown_Click(object sender, RoutedEventArgs e)
  34. {
  35. this.Hide();
  36. }
  37. /// <summary>
  38. /// 窗口移动
  39. /// </summary>
  40. /// <param name="sender"></param>
  41. /// <param name="e"></param>
  42. private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
  43. {
  44. DragMove();
  45. }
  46. }
  47. }