From f199f35247cff10081006c89d8a8f79606bafb8b Mon Sep 17 00:00:00 2001 From: croire <1432593898@qq.com> Date: Mon, 4 Apr 2022 00:27:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=A3=E7=A0=81=E6=9D=A5?= =?UTF-8?q?=E6=BA=90=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DownKyi/Views/Settings/ViewVideo.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) 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)