From b47dd0fbf7f73ba0ef376ac48eb946ccf096d26e Mon Sep 17 00:00:00 2001 From: liufei Date: Wed, 1 Jun 2022 15:55:33 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=A2=9E=E5=8A=A0=E5=8F=AF?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E5=88=B0=E5=85=B6=E5=AE=83=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=20:zap:=20=E5=88=87=E6=8D=A2=E4=BA=86icon?= =?UTF-8?q?=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PannelCard/LeftCardControl.xaml | 225 +++-- .../PannelCard/LeftCardControl.xaml.cs | 34 + .../PannelCard/RightCardControl.xaml | 111 ++- .../PannelCard/RightCardControl.xaml.cs | 113 +-- GeekDesk.csproj | 2 + MainWindow.xaml | 4 +- Util/DragAdorner.cs | 175 ++++ Util/ListBoxDragDropManager.cs | 892 ++++++++++++++++++ Util/MouseUtil.cs | 23 + 9 files changed, 1388 insertions(+), 191 deletions(-) create mode 100644 Util/DragAdorner.cs create mode 100644 Util/ListBoxDragDropManager.cs diff --git a/Control/UserControls/PannelCard/LeftCardControl.xaml b/Control/UserControls/PannelCard/LeftCardControl.xaml index e6df174..fb291ce 100644 --- a/Control/UserControls/PannelCard/LeftCardControl.xaml +++ b/Control/UserControls/PannelCard/LeftCardControl.xaml @@ -6,6 +6,7 @@ xmlns:local="clr-namespace:GeekDesk.Control.UserControls.PannelCard" xmlns:hc="https://handyorg.github.io/handycontrol" xmlns:cvt="clr-namespace:GeekDesk.Converts" + xmlns:cst="clr-namespace:GeekDesk.Constant" xmlns:DraggAnimatedPanel="clr-namespace:DraggAnimatedPanel" mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800" @@ -21,6 +22,11 @@ + + + + + @@ -71,110 +77,149 @@ --> - + + + + - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - + + + + + + + + + + - - - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +