Skip to content

Commit

Permalink
[MWB] - moving MyRectangle from Common.MachineStuff.cs into MyRectang…
Browse files Browse the repository at this point in the history
…le.cs - microsoft#35155
  • Loading branch information
mikeclayton committed Jan 17, 2025
1 parent ce630a3 commit 15a10fb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@

namespace MouseWithoutBorders
{
internal class MyRectangle
{
internal int Left;
internal int Top;
internal int Right;
internal int Bottom;
}

internal partial class Common
{
private static readonly Lock McMatrixLock = new();
Expand Down
34 changes: 34 additions & 0 deletions src/modules/MouseWithoutBorders/App/Core/MyRectangle.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Drawing;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Windows.Forms;

using Microsoft.PowerToys.Telemetry;

// <summary>
// Machine setup/switching implementation.
// </summary>
// <history>
// 2008 created by Truong Do (ductdo).
// 2009-... modified by Truong Do (TruongDo).
// 2023- Included in PowerToys.
// </history>
using MouseWithoutBorders.Class;

namespace MouseWithoutBorders.Core;

internal class MyRectangle
{
internal int Left;
internal int Top;
internal int Right;
internal int Bottom;
}

0 comments on commit 15a10fb

Please sign in to comment.