From a957135b369a0320689d0a4df507669e680f4a99 Mon Sep 17 00:00:00 2001 From: Carl Chang Date: Sat, 5 Nov 2022 14:15:41 +0800 Subject: [PATCH] support dragging images to note window when it's docked; remove PreviewDragEnter that seems to be redundant when PreviewDragOver is already present; bump version; --- MainWindow.xaml | 4 ++-- MainWindow.xaml.cs | 2 ++ Properties/AssemblyInfo.cs | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/MainWindow.xaml b/MainWindow.xaml index 3454986..2de2eb1 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -4,7 +4,7 @@ xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:local="clr-namespace:DesktopNote" Title="Desktop Note" Height="350" Width="300" ShowInTaskbar="False" AllowsTransparency="True" WindowStyle="None" Background="{x:Null}" - ResizeMode="CanResizeWithGrip" UseLayoutRounding="True" + ResizeMode="CanResizeWithGrip" UseLayoutRounding="True" AllowDrop="True" PreviewDragOver="RTB_Main_PreviewDrag" MouseEnter="Win_Main_MouseEnter" Loaded="Win_Main_Loaded">