Skip to content

Commit ee90a8f

Browse files
committed
demo tidy up
1 parent 00c7088 commit ee90a8f

File tree

8 files changed

+68
-98
lines changed

8 files changed

+68
-98
lines changed

MahMaterialDragablzMashUp/MahMaterialDragablzMashUp.csproj renamed to MahMaterialDragablzMashUp/MahAppsDragablzDemo.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}</ProjectGuid>
88
<OutputType>WinExe</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>MahMaterialDragablzMashUp</RootNamespace>
11-
<AssemblyName>MahMaterialDragablzMashUp</AssemblyName>
10+
<RootNamespace>MahAppsDragablzDemo</RootNamespace>
11+
<AssemblyName>MahAppsDragablzDemo</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
@@ -60,10 +60,6 @@
6060
</Reference>
6161
<Reference Include="System" />
6262
<Reference Include="System.Data" />
63-
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
64-
<HintPath>..\packages\MahApps.Metro.1.1.3-ALPHA157\lib\net45\System.Windows.Interactivity.dll</HintPath>
65-
<Private>True</Private>
66-
</Reference>
6763
<Reference Include="System.Xml" />
6864
<Reference Include="Microsoft.CSharp" />
6965
<Reference Include="System.Core" />

MahMaterialDragablzMashUp/Properties/Resources.Designer.cs

Lines changed: 19 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MahMaterialDragablzMashUp/Properties/Settings.Designer.cs

Lines changed: 10 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MainDemo.Wpf/MainDemo.Wpf.csproj renamed to MainDemo.Wpf/MaterialDesignDemo.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{CF0A27A8-EF82-44E5-B673-ECCC150C48ED}</ProjectGuid>
88
<OutputType>WinExe</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>MaterialDesignColors.WpfExample</RootNamespace>
11-
<AssemblyName>MaterialDesignColors.WpfExample</AssemblyName>
10+
<RootNamespace>MaterialDesignDemo</RootNamespace>
11+
<AssemblyName>MaterialDesignDemo</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
@@ -47,11 +47,9 @@
4747
<ApplicationIcon>favicon.ico</ApplicationIcon>
4848
</PropertyGroup>
4949
<ItemGroup>
50-
<Reference Include="Microsoft.Expression.Interactions, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
5150
<Reference Include="PresentationFramework.Aero2" />
5251
<Reference Include="System" />
5352
<Reference Include="System.Data" />
54-
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
5553
<Reference Include="System.Xml" />
5654
<Reference Include="Microsoft.CSharp" />
5755
<Reference Include="System.Core" />

MainDemo.Wpf/PaletteSelectorViewModel.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
using System.Windows;
88
using System.Windows.Input;
99
using System.Windows.Media;
10+
using MaterialDesignColors.WpfExample.Domain;
1011
using MaterialDesignThemes.Wpf;
11-
using Microsoft.Expression.Interactivity.Core;
1212

1313
namespace MaterialDesignColors.WpfExample
1414
{
@@ -19,7 +19,7 @@ public PaletteSelectorViewModel()
1919
Swatches = new SwatchesProvider().Swatches;
2020
}
2121

22-
public ICommand ToggleBaseCommand { get; } = new ActionCommand(o => ApplyBase((bool)o));
22+
public ICommand ToggleBaseCommand { get; } = new AnotherCommandImplementation(o => ApplyBase((bool)o));
2323

2424
private static void ApplyBase(bool isDark)
2525
{
@@ -28,14 +28,14 @@ private static void ApplyBase(bool isDark)
2828

2929
public IEnumerable<Swatch> Swatches { get; }
3030

31-
public ICommand ApplyPrimaryCommand { get; } = new ActionCommand(o => ApplyPrimary((Swatch)o));
31+
public ICommand ApplyPrimaryCommand { get; } = new AnotherCommandImplementation(o => ApplyPrimary((Swatch)o));
3232

3333
private static void ApplyPrimary(Swatch swatch)
3434
{
3535
new PaletteHelper().ReplacePrimaryColor(swatch);
3636
}
3737

38-
public ICommand ApplyAccentCommand { get; } = new ActionCommand(o => ApplyAccent((Swatch)o));
38+
public ICommand ApplyAccentCommand { get; } = new AnotherCommandImplementation(o => ApplyAccent((Swatch)o));
3939

4040
private static void ApplyAccent(Swatch swatch)
4141
{

MainDemo.Wpf/Properties/Resources.Designer.cs

Lines changed: 19 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MainDemo.Wpf/Properties/Settings.Designer.cs

Lines changed: 10 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MaterialDesignToolkit.Wpf.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mdresgen", "mdresgen\mdresg
77
EndProject
88
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignThemes.Wpf", "MaterialDesignThemes.Wpf\MaterialDesignThemes.Wpf.csproj", "{F079FB0A-A8ED-4216-B6A5-345756751A04}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MainDemo.Wpf", "MainDemo.Wpf\MainDemo.Wpf.csproj", "{CF0A27A8-EF82-44E5-B673-ECCC150C48ED}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignDemo", "MainDemo.Wpf\MaterialDesignDemo.csproj", "{CF0A27A8-EF82-44E5-B673-ECCC150C48ED}"
1111
EndProject
1212
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaterialDesignColors.Wpf", "MaterialDesignColors.Wpf\MaterialDesignColors.Wpf.csproj", "{90B53209-C60C-4655-B28D-A1B3E1044BA3}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MahMaterialDragablzMashUp", "MahMaterialDragablzMashUp\MahMaterialDragablzMashUp.csproj", "{803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MahAppsDragablzDemo", "MahMaterialDragablzMashUp\MahAppsDragablzDemo.csproj", "{803954E5-3A35-4D8B-95A7-F6E9B63EC0DF}"
1515
EndProject
1616
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "web", "web", "{7D0AC158-FD01-4EA3-8F8A-D19C085C77DF}"
1717
ProjectSection(SolutionItems) = preProject

0 commit comments

Comments
 (0)