diff --git a/App.config b/App.config
index d19182c..511cc1f 100644
--- a/App.config
+++ b/App.config
@@ -13,6 +13,9 @@
+
+
+
diff --git a/Content/camera.ico b/Content/camera.ico
new file mode 100644
index 0000000..fc9a71b
Binary files /dev/null and b/Content/camera.ico differ
diff --git a/Content/camera.png b/Content/camera.png
new file mode 100644
index 0000000..8576580
Binary files /dev/null and b/Content/camera.png differ
diff --git a/Content/db_info.ico b/Content/db_info.ico
new file mode 100644
index 0000000..ccac97d
Binary files /dev/null and b/Content/db_info.ico differ
diff --git a/Content/db_plus.ico b/Content/db_plus.ico
new file mode 100644
index 0000000..749b10c
Binary files /dev/null and b/Content/db_plus.ico differ
diff --git a/Content/telegram.ico b/Content/telegram.ico
new file mode 100644
index 0000000..d757382
Binary files /dev/null and b/Content/telegram.ico differ
diff --git a/Content/telegram.png b/Content/telegram.png
new file mode 100644
index 0000000..13e8a4d
Binary files /dev/null and b/Content/telegram.png differ
diff --git a/DebtMgr.csproj b/DebtMgr.csproj
index 9dffdd9..84cb71e 100644
--- a/DebtMgr.csproj
+++ b/DebtMgr.csproj
@@ -85,6 +85,7 @@
+
packages\MvvmLightLibs.5.3.0.0\lib\net45\System.Windows.Interactivity.dll
@@ -138,6 +139,9 @@
App.xaml
Code
+
+ ScreenshotView.xaml
+
Designer
MSBuild:Compile
@@ -158,6 +162,10 @@
Designer
MSBuild:Compile
+
+ Designer
+ MSBuild:Compile
+
@@ -216,6 +224,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Helper/PrintHelper.cs b/Helper/PrintHelper.cs
index 533fe95..cd82a0d 100644
--- a/Helper/PrintHelper.cs
+++ b/Helper/PrintHelper.cs
@@ -22,6 +22,9 @@ namespace DebtMgr.Helper
var height = (int)uiElement.ActualHeight;
var width = (int)uiElement.ActualWidth;
+ var container = VisualTreeHelper.GetParent(uiElement) as UIElement;
+ var relativeLocation = uiElement.TranslatePoint(new Point(0, 0), container);
+
// These two line of code make sure that you get completed visual bitmap.
// In case your Framework Element is inside the scroll viewer then some part which is not
// visible gets clip.
@@ -41,6 +44,8 @@ namespace DebtMgr.Helper
bitmap.Render(uiElement);
SaveUsingBitmapTargetRenderer(fileName, bitmap, encoder);
+
+ uiElement.Arrange(new Rect(relativeLocation, new Point(relativeLocation.X+width, relativeLocation.Y+height)));
}
////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs
index f6c9a86..60ae7c6 100644
--- a/Properties/Settings.Designer.cs
+++ b/Properties/Settings.Designer.cs
@@ -34,5 +34,17 @@ namespace DebtMgr.Properties {
this["Database"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("")]
+ public string TelegramPath {
+ get {
+ return ((string)(this["TelegramPath"]));
+ }
+ set {
+ this["TelegramPath"] = value;
+ }
+ }
}
}
diff --git a/Properties/Settings.settings b/Properties/Settings.settings
index a1eccb8..f3e5fb3 100644
--- a/Properties/Settings.settings
+++ b/Properties/Settings.settings
@@ -5,5 +5,8 @@
+
+
+
\ No newline at end of file
diff --git a/View/MainView.xaml b/View/MainView.xaml
index 9e52e0c..95d216d 100644
--- a/View/MainView.xaml
+++ b/View/MainView.xaml
@@ -5,8 +5,10 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:converters="clr-namespace:DebtMgr.Converters"
mc:Ignorable="d"
+ Name="MainViewWindow"
Icon="../Content/money_green.ico"
- Title="Debt Manager" Height="600" MinHeight="600" Width="900" MinWidth="900">
+ Title="Debt Manager" Height="600" MinHeight="600" Width="900" MinWidth="900"
+ Background="White">