diff --git a/Icarus/Icarus.vbproj b/Icarus/Icarus.vbproj
index 8280b76..416ffdd 100644
--- a/Icarus/Icarus.vbproj
+++ b/Icarus/Icarus.vbproj
@@ -80,6 +80,9 @@
False
..\..\..\EgtProg\DllD32\EgtUILib.dll
+
+ ..\..\..\EgtProg\DllD64\EgtWPFLib48.dll
+
False
..\..\..\EgtProg\DllD32\EgtWPFLib5.dll
@@ -787,6 +790,14 @@
+
+
+
+
+
+
+
+
IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\Icarus\IcarusR32.exe
diff --git a/Icarus/MainWindow/MainWindowV.xaml b/Icarus/MainWindow/MainWindowV.xaml
index 1bd47fb..ae368f6 100644
--- a/Icarus/MainWindow/MainWindowV.xaml
+++ b/Icarus/MainWindow/MainWindowV.xaml
@@ -1,15 +1,15 @@
-
+ Topmost="False">
-
+
diff --git a/Icarus/MainWindow/MainWindowV.xaml.vb b/Icarus/MainWindow/MainWindowV.xaml.vb
index fb72bd8..3f0b145 100644
--- a/Icarus/MainWindow/MainWindowV.xaml.vb
+++ b/Icarus/MainWindow/MainWindowV.xaml.vb
@@ -20,6 +20,8 @@ Class MainWindowV
AddHandler Me.Closing, AddressOf MainWindowV_Closing
AddHandler Me.KeyDown, AddressOf MainWindowV_KeyDown
AddHandler Me.StateChanged, AddressOf MainWindowV_StateChanged
+ AddHandler Me.LocationChanged, AddressOf MainWindowV_LocationChanged
+ AddHandler Me.SizeChanged, AddressOf MainWindowV_SizeChanged
End Sub
#End Region ' CONSTRUCTOR
@@ -64,6 +66,19 @@ Class MainWindowV
End If
End Sub
+ Private Sub MainWindowV_LocationChanged(sender As Object, e As EventArgs)
+ If Not IsNothing(Map.refSecondaryWindowV) Then Map.refSecondaryWindowV.Top = Me.Top
+ If Not IsNothing(Map.refSecondaryWindowV) Then Map.refSecondaryWindowV.Left = Me.Left
+ End Sub
+
+ Private Sub MainWindowV_SizeChanged(sender As Object, e As SizeChangedEventArgs)
+ If Not IsNothing(Map.refSecondaryWindowV) Then
+ If e.WidthChanged Then Map.refSecondaryWindowV.Width = e.NewSize.Width
+ If e.HeightChanged Then Map.refSecondaryWindowV.Height = e.NewSize.Height
+ Map.refSecondaryWindowV.InvalidateVisual()
+ End If
+ End Sub
+
Private Sub MainWindowV_StateChanged(sender As Object, e As EventArgs)
If Not IsNothing(Map.refSecondaryWindowV) AndAlso Not Map.refSecondaryWindowV.WindowChangingState Then
Map.refSecondaryWindowV.WindowState = Me.WindowState
diff --git a/Icarus/Resources/Common/Close.png b/Icarus/Resources/Common/Close.png
new file mode 100644
index 0000000..0abb9d7
Binary files /dev/null and b/Icarus/Resources/Common/Close.png differ
diff --git a/Icarus/Resources/Common/Maximize.png b/Icarus/Resources/Common/Maximize.png
new file mode 100644
index 0000000..71c2ce6
Binary files /dev/null and b/Icarus/Resources/Common/Maximize.png differ
diff --git a/Icarus/Resources/Common/Minimize.png b/Icarus/Resources/Common/Minimize.png
new file mode 100644
index 0000000..71c2ce6
Binary files /dev/null and b/Icarus/Resources/Common/Minimize.png differ
diff --git a/Icarus/Resources/Common/Restore.png b/Icarus/Resources/Common/Restore.png
new file mode 100644
index 0000000..dd24cf1
Binary files /dev/null and b/Icarus/Resources/Common/Restore.png differ
diff --git a/Icarus/SecondaryWindow/SecondaryWindowV.xaml b/Icarus/SecondaryWindow/SecondaryWindowV.xaml
index 12f614d..931775b 100644
--- a/Icarus/SecondaryWindow/SecondaryWindowV.xaml
+++ b/Icarus/SecondaryWindow/SecondaryWindowV.xaml
@@ -1,24 +1,21 @@
-
-
+
@@ -29,4 +26,4 @@
-
+
diff --git a/Icarus/SecondaryWindow/SecondaryWindowV.xaml.vb b/Icarus/SecondaryWindow/SecondaryWindowV.xaml.vb
index 270cbb7..ce5a606 100644
--- a/Icarus/SecondaryWindow/SecondaryWindowV.xaml.vb
+++ b/Icarus/SecondaryWindow/SecondaryWindowV.xaml.vb
@@ -22,8 +22,8 @@ Public Class SecondaryWindowV
AddHandler Me.ContentRendered, AddressOf SecondaryWindowV_ContentRendered
AddHandler Me.Loaded, AddressOf SecondaryWindowV_Loaded
AddHandler Me.Closing, AddressOf SecondaryWindowV_Closing
- AddHandler Me.LocationChanged, AddressOf SecondaryWindowV_LocationChanged
- AddHandler Me.SizeChanged, AddressOf SecondaryWindowV_SizeChanged
+ 'AddHandler Me.LocationChanged, AddressOf SecondaryWindowV_LocationChanged
+ 'AddHandler Me.SizeChanged, AddressOf SecondaryWindowV_SizeChanged
AddHandler Me.StateChanged, AddressOf SecondaryWindowV_StateChanged
End Sub
diff --git a/Icarus/Utility/Dictionary.xaml b/Icarus/Utility/Dictionary.xaml
index 55518c5..07b175b 100644
--- a/Icarus/Utility/Dictionary.xaml
+++ b/Icarus/Utility/Dictionary.xaml
@@ -3,6 +3,7 @@
xmlns:PrintApp="clr-namespace:Icarus"
xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2"
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
+ xmlns:EgtWPFLib48="clr-namespace:EgtWPFLib48;assembly=EgtWPFLib48"
xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
>
@@ -810,7 +811,7 @@
-
+
@@ -4006,4 +4007,195 @@
+
+
+
+
+
+
+
+
+
+