diff --git a/MaterialModernWPF/App.config b/MaterialModernWPF/App.config
index 88fa402..d1428ad 100644
--- a/MaterialModernWPF/App.config
+++ b/MaterialModernWPF/App.config
@@ -1,6 +1,6 @@
-
+
-
+
-
\ No newline at end of file
+
diff --git a/MaterialModernWPF/App.xaml b/MaterialModernWPF/App.xaml
index bfdb3c5..69a418f 100644
--- a/MaterialModernWPF/App.xaml
+++ b/MaterialModernWPF/App.xaml
@@ -1,15 +1,23 @@
+ xmlns:local="clr-namespace:MaterialModernWPF"
+ xmlns:dragablz="http://dragablz.net/winfx/xaml/dragablz">
-
+
+
-
+
+
+
+
+
+
+
diff --git a/MaterialModernWPF/Bootstrapper.cs b/MaterialModernWPF/Bootstrapper.cs
index 6c2e529..82e8c84 100644
--- a/MaterialModernWPF/Bootstrapper.cs
+++ b/MaterialModernWPF/Bootstrapper.cs
@@ -17,7 +17,6 @@ namespace MaterialModernWPF
protected override void InitializeShell()
{
- base.InitializeShell();
Application.Current.MainWindow = (Window)Shell;
Application.Current.MainWindow.Show();
}
diff --git a/MaterialModernWPF/InfoDialog.xaml b/MaterialModernWPF/InfoDialog.xaml
new file mode 100644
index 0000000..48cde9c
--- /dev/null
+++ b/MaterialModernWPF/InfoDialog.xaml
@@ -0,0 +1,31 @@
+
+
+
+
+ This app is proudly made with: Material Design, ModernWPF 2 and Autofac.
+
+
+
+
+
+
diff --git a/MaterialModernWPF/InfoDialog.xaml.cs b/MaterialModernWPF/InfoDialog.xaml.cs
new file mode 100644
index 0000000..aebb6a3
--- /dev/null
+++ b/MaterialModernWPF/InfoDialog.xaml.cs
@@ -0,0 +1,15 @@
+using System.Windows.Controls;
+
+namespace MaterialModernWPF
+{
+ ///
+ /// Interaktionslogik für InfoDialog.xaml
+ ///
+ public partial class InfoDialog : UserControl
+ {
+ public InfoDialog()
+ {
+ InitializeComponent();
+ }
+ }
+}
\ No newline at end of file
diff --git a/MaterialModernWPF/MaterialModernWPF.csproj b/MaterialModernWPF/MaterialModernWPF.csproj
index f304254..3e21164 100644
--- a/MaterialModernWPF/MaterialModernWPF.csproj
+++ b/MaterialModernWPF/MaterialModernWPF.csproj
@@ -9,14 +9,15 @@
Properties
MaterialModernWPF
MaterialModernWPF
- v4.5.2
+ v4.5
512
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
4
true
+
- AnyCPU
+ x64
true
full
false
@@ -24,6 +25,7 @@
DEBUG;TRACE
prompt
4
+ false
AnyCPU
@@ -42,6 +44,10 @@
..\packages\Autofac.3.5.2\lib\net40\Autofac.dll
True
+
+ ..\packages\Dragablz.0.0.3.169\lib\net45\Dragablz.dll
+ True
+
..\packages\MaterialDesignColors.1.1.3\lib\net45\MaterialDesignColors.dll
True
@@ -95,8 +101,11 @@
App.xaml
Code
-
- Shell.xaml
+
+ InfoDialog.xaml
+
+
+ Shell.xaml
Code
@@ -133,6 +142,10 @@
+
+ Designer
+ MSBuild:Compile
+
MSBuild:Compile
Designer
diff --git a/MaterialModernWPF/Properties/Resources.Designer.cs b/MaterialModernWPF/Properties/Resources.Designer.cs
index ea6d1e7..12f1d00 100644
--- a/MaterialModernWPF/Properties/Resources.Designer.cs
+++ b/MaterialModernWPF/Properties/Resources.Designer.cs
@@ -1,69 +1,61 @@
//------------------------------------------------------------------------------
//
// Dieser Code wurde von einem Tool generiert.
-// Laufzeitversion: 4.0.30319.42000
+// Laufzeitversion:4.0.30319.42000
//
-// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
-// der Code neu generiert wird.
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
//
//------------------------------------------------------------------------------
-namespace MaterialModernWPF.Properties
-{
-
-
+namespace MaterialModernWPF.Properties {
+ using System;
+
+
///
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
///
- // Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
- // über ein Tool wie ResGen oder Visual Studio automatisch generiert.
+ // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
+ // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
- // mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
+ // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources
- {
-
+ internal class Resources {
+
private static global::System.Resources.ResourceManager resourceMan;
-
+
private static global::System.Globalization.CultureInfo resourceCulture;
-
+
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources()
- {
+ internal Resources() {
}
-
+
///
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager
- {
- get
- {
- if ((resourceMan == null))
- {
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MaterialModernWPF.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
-
+
///
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
- /// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
+ /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture
- {
- get
- {
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
return resourceCulture;
}
- set
- {
+ set {
resourceCulture = value;
}
}
diff --git a/MaterialModernWPF/Properties/Settings.Designer.cs b/MaterialModernWPF/Properties/Settings.Designer.cs
index 4099b29..c229fa8 100644
--- a/MaterialModernWPF/Properties/Settings.Designer.cs
+++ b/MaterialModernWPF/Properties/Settings.Designer.cs
@@ -1,28 +1,24 @@
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
//
//------------------------------------------------------------------------------
-namespace MaterialModernWPF.Properties
-{
-
-
+namespace MaterialModernWPF.Properties {
+
+
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
+
+ public static Settings Default {
+ get {
return defaultInstance;
}
}
diff --git a/MaterialModernWPF/Shell.xaml b/MaterialModernWPF/Shell.xaml
index 30ade88..024368b 100644
--- a/MaterialModernWPF/Shell.xaml
+++ b/MaterialModernWPF/Shell.xaml
@@ -2,13 +2,14 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:dragablz="http://dragablz.net/winfx/xaml/dragablz"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
+ xmlns:materialModernWpf="clr-namespace:MaterialModernWPF"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:modern="http://modernwpf"
xmlns:prism="http://prismlibrary.com/"
- xmlns:system="clr-namespace:System;assembly=mscorlib"
x:Name="Window"
- Title="Material Design In XAML Toolkit"
+ Title="NiftyTool NG"
Width="920"
Height="600"
modern:UIHooks.AutoDpiScale="True"
@@ -31,77 +32,98 @@
ShowTitle="False" />
-
- Tell me your name:
-
-
-
-
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Padding="2">
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+ Hello World
+
+
+
+
+ We Have Tearable Tabs!
+
+
+
diff --git a/MaterialModernWPF/Shell.xaml.cs b/MaterialModernWPF/Shell.xaml.cs
index 299dd2c..b334629 100644
--- a/MaterialModernWPF/Shell.xaml.cs
+++ b/MaterialModernWPF/Shell.xaml.cs
@@ -1,22 +1,9 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Data;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Imaging;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
+using System.Windows;
namespace MaterialModernWPF
{
///
- /// Interaktionslogik für MainWindow.xaml
+ /// Interaktionslogik für MainWindow.xaml
///
public partial class Shell : Window
{
@@ -25,4 +12,4 @@ namespace MaterialModernWPF
InitializeComponent();
}
}
-}
+}
\ No newline at end of file
diff --git a/MaterialModernWPF/packages.config b/MaterialModernWPF/packages.config
index 2c4c2b1..7da3966 100644
--- a/MaterialModernWPF/packages.config
+++ b/MaterialModernWPF/packages.config
@@ -2,6 +2,7 @@
+