diff --git a/DownKyi/Views/Settings/ViewVideo.xaml.cs b/DownKyi/Views/Settings/ViewVideo.xaml.cs index cf01aa5..3b667c4 100644 --- a/DownKyi/Views/Settings/ViewVideo.xaml.cs +++ b/DownKyi/Views/Settings/ViewVideo.xaml.cs @@ -16,6 +16,9 @@ namespace DownKyi.Views.Settings InitializeComponent(); } + // ListBox拖拽的代码参考 + // https://stackoverflow.com/questions/3350187/wpf-c-rearrange-items-in-listbox-via-drag-and-drop + private void SelectedFileName_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { if (sender is ListBoxItem)