Skip to content

Commit d0ea9c0

Browse files
committed
Clean up for //build demo
1 parent df06074 commit d0ea9c0

File tree

4 files changed

+5
-18
lines changed

4 files changed

+5
-18
lines changed

Samples/Islands/WpfCalculator/CalculatorDemo/App_Demo3.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
// // Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.Windows;
5-
6-
#if true // Demo3_Step1_AddWasdk
7-
85
using Microsoft.UI.Dispatching;
96

7+
// Demo3_Step1_AddWasdk
108
namespace CalculatorDemo
119
{
1210
public partial class App : Application
@@ -29,5 +27,3 @@ protected override void OnExit(ExitEventArgs e)
2927
DispatcherQueueController? _dispatcherQueueController;
3028
}
3129
}
32-
33-
#endif

Samples/Islands/WpfCalculator/CalculatorDemo/MainWindow_Demo3.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
using System.Windows;
66
using System.Windows.Interop;
77

8-
#if true // Demo3_Step2_AddCompact
9-
108
using Microsoft.UI;
119
using Microsoft.UI.Windowing;
1210

11+
// Demo3_Step2_AddCompact
1312
namespace CalculatorDemo
1413
{
1514
public sealed partial class MainWindow : Window
@@ -56,5 +55,3 @@ void SetCompactView(bool useCompactView)
5655
}
5756
}
5857
}
59-
60-
#endif

Samples/Islands/WpfCalculator/CalculatorDemo/MainWindow_Demo4.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
// // Copyright (c) Microsoft. All rights reserved.
22
// // Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using CommunityToolkit.WinAppSDK.LottieIsland;
54
using System.Windows;
5+
using CommunityToolkit.WinAppSDK.LottieIsland;
66

7-
#if true // Demo3_Step2_AddCompact
8-
7+
// Demo3_Step2_AddCompact
98
namespace CalculatorDemo
109
{
1110
public sealed partial class MainWindow : Window
@@ -22,5 +21,3 @@ private void CreateLottieIslandMenuItem_Click(object sender, RoutedEventArgs e)
2221
}
2322
}
2423
}
25-
26-
#endif

Samples/Islands/WpfCalculator/CalculatorDemo/MainWindow_Demo4_Extra.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
using System.Windows;
55

6-
#if true // Demo3_Step2_AddCompact
7-
6+
// Demo3_Step2_AddCompact
87
namespace CalculatorDemo
98
{
109
public sealed partial class MainWindow : Window
@@ -28,5 +27,3 @@ private async void CreateSceneNodeIslandMenuItem_Click(object sender, RoutedEven
2827
}
2928
}
3029
}
31-
32-
#endif

0 commit comments

Comments
 (0)