chore: formatted FullScreenHelper code
This commit is contained in:
1 parent
0fde3d1838
commit
d1e117993a
6 files changed
+426
-635
No files matched your search
@@ -6,9 +6,11 @@ using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
using System.Windows;
|
||||
using System.Windows.Interop;
|
||||
using HandyControl.Controls;
|
||||
using HandyControl.Tools.Extension;
|
||||
using HandyControl.Tools.Helper;
|
||||
using HandyControl.Tools.Interop;
|
||||
using Window = System.Windows.Window;
|
||||
|
||||
namespace HandyControl.Tools
|
||||
{
|
||||
@@ -195,5 +197,9 @@ namespace HandyControl.Tools
|
||||
/// 开始使用触摸拖动窗口,在触摸抬起后自动结束
|
||||
/// </summary>
|
||||
public static void TouchDragMove(this Window window) => new TouchDragMoveWindowHelper(window).Start();
|
||||
|
||||
public static void StartFullScreen(this Window window) => FullScreenHelper.StartFullScreen(window);
|
||||
|
||||
public static void EndFullScreen(this Window window) => FullScreenHelper.EndFullScreen(window);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user