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

4 년 전
12345678910111213141516171819202122232425262728293031323334353637
  1. using System.Windows;
  2. using System.Windows.Input;
  3. namespace XHWK.WKTool
  4. {
  5. /// <summary>
  6. /// 文件目录
  7. /// </summary>
  8. public partial class FileDirectoryWindow : Window
  9. {
  10. /// <summary>
  11. /// 文件目录
  12. /// </summary>
  13. public FileDirectoryWindow()
  14. {
  15. InitializeComponent();
  16. }
  17. /// <summary>
  18. /// 关闭
  19. /// </summary>
  20. /// <param name="sender"></param>
  21. /// <param name="e"></param>
  22. private void btnDown_Click(object sender, RoutedEventArgs e)
  23. {
  24. this.Hide();
  25. }
  26. /// <summary>
  27. /// 窗口移动
  28. /// </summary>
  29. /// <param name="sender"></param>
  30. /// <param name="e"></param>
  31. private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
  32. {
  33. DragMove();
  34. }
  35. }
  36. }