Skip to content

Commit 5e2155e

Browse files
committed
Revert whitespace changes
1 parent 0bc1643 commit 5e2155e

22 files changed

+57
-151
lines changed

MainDemo.Wpf/Buttons.xaml.cs

Lines changed: 35 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.IO;
43
using System.Linq;
54
using System.Text;
65
using System.Threading.Tasks;
@@ -13,56 +12,53 @@
1312
using System.Windows.Media.Imaging;
1413
using System.Windows.Navigation;
1514
using System.Windows.Shapes;
16-
using System.Xml;
17-
using CodeDisplayer;
1815
using MaterialDesignColors.WpfExample.Domain;
19-
using MaterialDesignDemo.Helper;
2016

2117
namespace MaterialDesignColors.WpfExample
2218
{
23-
/// <summary>
24-
/// Interaction logic for Buttons.xaml
25-
/// </summary>
26-
public partial class Buttons : UserControl
27-
{
28-
public Buttons()
29-
{
30-
InitializeComponent();
31-
FloatingActionDemoCommand = new AnotherCommandImplementation(Execute);
32-
33-
}
19+
/// <summary>
20+
/// Interaction logic for Buttons.xaml
21+
/// </summary>
22+
public partial class Buttons : UserControl
23+
{
24+
public Buttons()
25+
{
26+
InitializeComponent();
3427

35-
public ICommand FloatingActionDemoCommand { get; }
28+
FloatingActionDemoCommand = new AnotherCommandImplementation(Execute);
29+
}
3630

37-
private void Execute(object o)
38-
{
39-
Console.WriteLine("Floating action button command. - " + (o ?? "NULL").ToString());
40-
}
31+
public ICommand FloatingActionDemoCommand { get; }
4132

42-
private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
43-
{
44-
Console.WriteLine("Just checking we haven't suppressed the button.");
45-
}
33+
private void Execute(object o)
34+
{
35+
Console.WriteLine("Floating action button command. - " + (o ?? "NULL").ToString());
36+
}
4637

47-
private void PopupBox_OnOpened(object sender, RoutedEventArgs e)
48-
{
49-
Console.WriteLine("Just making sure the popup has opened.");
38+
private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
39+
{
40+
Console.WriteLine("Just checking we haven't suppressed the button.");
5041
}
5142

52-
private void PopupBox_OnClosed(object sender, RoutedEventArgs e)
53-
{
54-
Console.WriteLine("Just making sure the popup has closed.");
55-
}
43+
private void PopupBox_OnOpened(object sender, RoutedEventArgs e)
44+
{
45+
Console.WriteLine("Just making sure the popup has opened.");
46+
}
5647

57-
private void CountingButton_OnClick(object sender, RoutedEventArgs e)
58-
{
59-
if (CountingBadge.Badge == null || Equals(CountingBadge.Badge, ""))
60-
CountingBadge.Badge = 0;
48+
private void PopupBox_OnClosed(object sender, RoutedEventArgs e)
49+
{
50+
Console.WriteLine("Just making sure the popup has closed.");
51+
}
6152

62-
var next = int.Parse(CountingBadge.Badge.ToString()) + 1;
53+
private void CountingButton_OnClick(object sender, RoutedEventArgs e)
54+
{
55+
if (CountingBadge.Badge == null || Equals(CountingBadge.Badge, ""))
56+
CountingBadge.Badge = 0;
6357

64-
CountingBadge.Badge = next < 21 ? (object)next : null;
58+
var next = int.Parse(CountingBadge.Badge.ToString()) + 1;
6559

66-
}
67-
}
60+
CountingBadge.Badge = next < 21 ? (object)next : null;
61+
62+
}
63+
}
6864
}

MainDemo.Wpf/Cards.xaml.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.IO;
43
using System.Linq;
54
using System.Text;
65
using System.Threading.Tasks;
@@ -13,9 +12,6 @@
1312
using System.Windows.Media.Imaging;
1413
using System.Windows.Navigation;
1514
using System.Windows.Shapes;
16-
using System.Xml;
17-
using CodeDisplayer;
18-
using MaterialDesignDemo.Helper;
1915

2016
namespace MaterialDesignColors.WpfExample
2117
{
@@ -26,11 +22,9 @@ public partial class Cards : UserControl
2622
{
2723
public Cards()
2824
{
29-
InitializeComponent();
30-
25+
InitializeComponent();
3126
}
3227

33-
3428
private void Flipper_OnIsFlippedChanged(object sender, RoutedPropertyChangedEventArgs<bool> e)
3529
{
3630
System.Diagnostics.Debug.WriteLine("Card is flipped = " + e.NewValue);

MainDemo.Wpf/Chips.xaml.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Windows.Navigation;
1414
using System.Windows.Shapes;
1515
using System.Xml;
16-
using MaterialDesignDemo.Helper;
1716

1817
namespace MaterialDesignColors.WpfExample
1918
{

MainDemo.Wpf/ColorZones.xaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
using System.Windows.Media.Imaging;
1313
using System.Windows.Navigation;
1414
using System.Windows.Shapes;
15-
using CodeDisplayer;
16-
using MaterialDesignDemo.Helper;
1715

1816
namespace MaterialDesignColors.WpfExample
1917
{
@@ -25,7 +23,6 @@ public partial class ColorZones : UserControl
2523
public ColorZones()
2624
{
2725
InitializeComponent();
28-
2926
}
3027
}
3128
}

MainDemo.Wpf/Dialogs.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
using System.Windows.Media.Imaging;
1313
using System.Windows.Navigation;
1414
using System.Windows.Shapes;
15-
using MaterialDesignDemo.Helper;
1615
using MaterialDesignThemes.Wpf;
1716

1817
namespace MaterialDesignColors.WpfExample
@@ -25,7 +24,6 @@ public partial class Dialogs : UserControl
2524
public Dialogs()
2625
{
2726
InitializeComponent();
28-
2927
}
3028

3129
private void Sample1_DialogHost_OnDialogClosing(object sender, DialogClosingEventArgs eventArgs)

MainDemo.Wpf/Drawers.xaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
using System.Windows.Media.Imaging;
1313
using System.Windows.Navigation;
1414
using System.Windows.Shapes;
15-
using System.Xml;
16-
using MaterialDesignDemo.Helper;
1715

1816
namespace MaterialDesignDemo
1917
{
@@ -25,7 +23,6 @@ public partial class Drawers : UserControl
2523
public Drawers()
2624
{
2725
InitializeComponent();
28-
2926
}
3027
}
3128
}

MainDemo.Wpf/Expander.xaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
using System.Windows.Media.Imaging;
1313
using System.Windows.Navigation;
1414
using System.Windows.Shapes;
15-
using CodeDisplayer;
16-
using MaterialDesignDemo.Helper;
1715

1816
namespace MaterialDesignColors.WpfExample
1917
{
@@ -25,7 +23,6 @@ public partial class Expander : UserControl
2523
public Expander()
2624
{
2725
InitializeComponent();
28-
2926
}
3027
}
3128
}

MainDemo.Wpf/Grids.xaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
using System.Windows.Media.Imaging;
1313
using System.Windows.Navigation;
1414
using System.Windows.Shapes;
15-
using CodeDisplayer;
16-
using MaterialDesignDemo.Helper;
1715

1816
namespace MaterialDesignColors.WpfExample
1917
{
@@ -25,7 +23,6 @@ public partial class Grids : UserControl
2523
public Grids()
2624
{
2725
InitializeComponent();
28-
2926
}
3027
}
3128
}

MainDemo.Wpf/GroupBoxes.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
using System.Windows.Media.Imaging;
1313
using System.Windows.Navigation;
1414
using System.Windows.Shapes;
15-
using MaterialDesignDemo.Helper;
1615

1716
namespace MaterialDesignColors.WpfExample
1817
{
@@ -24,7 +23,6 @@ public partial class GroupBoxes : UserControl
2423
public GroupBoxes()
2524
{
2625
InitializeComponent();
27-
2826
}
2927
}
3028
}

MainDemo.Wpf/Helper/SourceRouter.cs

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)