add:issue #180
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Ink_Canvas
|
|||||||
#region 公共属性
|
#region 公共属性
|
||||||
|
|
||||||
public bool IsEnabled => _interceptor != null && _settings != null && _settings.IsEnabled;
|
public bool IsEnabled => _interceptor != null && _settings != null && _settings.IsEnabled;
|
||||||
public bool IsRunning => _interceptor != null && _isInitialized;
|
public bool IsRunning => _interceptor != null && _interceptor.IsRunning;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@@ -170,6 +170,12 @@ namespace Ink_Canvas.Helpers
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 公共属性
|
||||||
|
|
||||||
|
public bool IsRunning => _isRunning;
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region 事件
|
#region 事件
|
||||||
|
|
||||||
public event EventHandler<WindowInterceptedEventArgs> WindowIntercepted;
|
public event EventHandler<WindowInterceptedEventArgs> WindowIntercepted;
|
||||||
@@ -200,8 +206,8 @@ namespace Ink_Canvas.Helpers
|
|||||||
{
|
{
|
||||||
Type = InterceptType.SeewoWhiteboard3Floating,
|
Type = InterceptType.SeewoWhiteboard3Floating,
|
||||||
ProcessName = "EasiNote3",
|
ProcessName = "EasiNote3",
|
||||||
WindowTitlePattern = "",
|
WindowTitlePattern = "希沃白板",
|
||||||
ClassNamePattern = "",
|
ClassNamePattern = "EasiNote3",
|
||||||
IsEnabled = true,
|
IsEnabled = true,
|
||||||
RequiresAdmin = false,
|
RequiresAdmin = false,
|
||||||
Description = "希沃白板3 桌面悬浮窗"
|
Description = "希沃白板3 桌面悬浮窗"
|
||||||
@@ -388,6 +394,9 @@ namespace Ink_Canvas.Helpers
|
|||||||
|
|
||||||
_isRunning = false;
|
_isRunning = false;
|
||||||
_scanTimer.Change(Timeout.Infinite, Timeout.Infinite);
|
_scanTimer.Change(Timeout.Infinite, Timeout.Infinite);
|
||||||
|
|
||||||
|
// 恢复所有被拦截的窗口
|
||||||
|
RestoreAllWindows();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user