Skip to content

Commit c5c4c3e

Browse files
committed
update in issues.
1 parent 55f2056 commit c5c4c3e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

SoftwareHelper/SoftwareHelper.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<Reference Include="PresentationCore" />
102102
<Reference Include="PresentationFramework" />
103103
<Reference Include="WPFDevelopers, Version=1.0.9.0, Culture=neutral, processorArchitecture=MSIL">
104-
<HintPath>..\packages\WPFDevelopers.1.0.9.1-preview\lib\net40\WPFDevelopers.dll</HintPath>
104+
<HintPath>..\packages\WPFDevelopers.1.0.9.2-preview\lib\net40\WPFDevelopers.dll</HintPath>
105105
</Reference>
106106
</ItemGroup>
107107
<ItemGroup>

SoftwareHelper/Views/EmbedDeasktopView.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ private void myNotifyIcon_TrayLeftMouseUp(object sender, RoutedEventArgs e)
173173

174174
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
175175
{
176+
if (mainVM.IsEmbedded) return;
176177
anchorPoint = e.GetPosition(this);
177178
inDrag = true;
178179
CaptureMouse();
@@ -183,6 +184,7 @@ protected override void OnMouseMove(MouseEventArgs e)
183184
{
184185
try
185186
{
187+
if (mainVM.IsEmbedded) return;
186188
if (!inDrag && e.LeftButton != MouseButtonState.Pressed) return;
187189
var currentPoint = e.GetPosition(this);
188190
Top = Top + (currentPoint.Y - anchorPoint.Y);

SoftwareHelper/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="WPFDevelopers" version="1.0.9.1-preview" targetFramework="net40-client" />
3+
<package id="WPFDevelopers" version="1.0.9.2-preview" targetFramework="net40-client" />
44
</packages>

0 commit comments

Comments
 (0)