From d4cc8df2478dcb1dd092abc16aca72a6fe65a4f8 Mon Sep 17 00:00:00 2001 From: "bpulliam@microsoft.com" Date: Tue, 13 Sep 2022 10:35:24 -0400 Subject: [PATCH] move window helper into helper directory --- WinUIGallery/ControlPages/SplitViewPage.xaml.cs | 1 + WinUIGallery/{Common => Helper}/WindowHelper.cs | 2 +- WinUIGallery/IdleSynchronizer.cs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) rename WinUIGallery/{Common => Helper}/WindowHelper.cs (98%) diff --git a/WinUIGallery/ControlPages/SplitViewPage.xaml.cs b/WinUIGallery/ControlPages/SplitViewPage.xaml.cs index 26bf00375..cdc118156 100644 --- a/WinUIGallery/ControlPages/SplitViewPage.xaml.cs +++ b/WinUIGallery/ControlPages/SplitViewPage.xaml.cs @@ -1,3 +1,4 @@ +using AppUIBasics.Helper; using System; using System.Collections.Generic; using System.IO; diff --git a/WinUIGallery/Common/WindowHelper.cs b/WinUIGallery/Helper/WindowHelper.cs similarity index 98% rename from WinUIGallery/Common/WindowHelper.cs rename to WinUIGallery/Helper/WindowHelper.cs index 97ce89015..81cc86fd0 100644 --- a/WinUIGallery/Common/WindowHelper.cs +++ b/WinUIGallery/Helper/WindowHelper.cs @@ -11,7 +11,7 @@ using Microsoft.UI.Xaml; using System.Collections.Generic; -namespace AppUIBasics +namespace AppUIBasics.Helper { // Helper class to allow the app to find the Window that contains an // arbitrary UIElement (GetWindowForElement). To do this, we keep track diff --git a/WinUIGallery/IdleSynchronizer.cs b/WinUIGallery/IdleSynchronizer.cs index 81711226e..2ee36d686 100644 --- a/WinUIGallery/IdleSynchronizer.cs +++ b/WinUIGallery/IdleSynchronizer.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. +using AppUIBasics.Helper; using System; using System.Runtime.InteropServices; using System.Threading;