2024-05-01 18:23:32 +08:00
|
|
|
|
using Ink_Canvas.Helpers;
|
|
|
|
|
using System;
|
2024-05-04 17:41:34 +08:00
|
|
|
|
using System.ComponentModel;
|
2024-05-01 18:23:32 +08:00
|
|
|
|
using System.Diagnostics;
|
2024-05-04 17:41:34 +08:00
|
|
|
|
using System.Runtime.CompilerServices;
|
2024-05-01 18:23:32 +08:00
|
|
|
|
using System.Timers;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
using MessageBox = System.Windows.MessageBox;
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
namespace Ink_Canvas {
|
|
|
|
|
public class TimeViewModel : INotifyPropertyChanged {
|
2024-05-04 17:41:34 +08:00
|
|
|
|
private string _nowTime;
|
2024-05-04 18:56:19 +08:00
|
|
|
|
private string _nowDate;
|
2024-05-04 17:41:34 +08:00
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
public string nowTime {
|
|
|
|
|
get => _nowTime;
|
|
|
|
|
set {
|
|
|
|
|
if (_nowTime != value) {
|
2024-05-04 17:41:34 +08:00
|
|
|
|
_nowTime = value;
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
public string nowDate {
|
|
|
|
|
get => _nowDate;
|
|
|
|
|
set {
|
|
|
|
|
if (_nowDate != value) {
|
2024-05-04 18:56:19 +08:00
|
|
|
|
_nowDate = value;
|
|
|
|
|
OnPropertyChanged();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-04 17:41:34 +08:00
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) {
|
2024-05-04 17:41:34 +08:00
|
|
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
public partial class MainWindow : Window {
|
|
|
|
|
private Timer timerCheckPPT = new Timer();
|
|
|
|
|
private Timer timerKillProcess = new Timer();
|
|
|
|
|
private Timer timerCheckAutoFold = new Timer();
|
|
|
|
|
private string AvailableLatestVersion = null;
|
|
|
|
|
private Timer timerCheckAutoUpdateWithSilence = new Timer();
|
|
|
|
|
private bool isHidingSubPanelsWhenInking = false; // 避免书写时触发二次关闭二级菜单导致动画不连续
|
2024-05-01 18:23:32 +08:00
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
private Timer timerDisplayTime = new Timer();
|
|
|
|
|
private Timer timerDisplayDate = new Timer();
|
2024-05-04 17:41:34 +08:00
|
|
|
|
|
|
|
|
|
private TimeViewModel nowTimeVM = new TimeViewModel();
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
private void InitTimers() {
|
2024-05-01 18:23:32 +08:00
|
|
|
|
timerCheckPPT.Elapsed += TimerCheckPPT_Elapsed;
|
2024-05-23 02:38:44 +08:00
|
|
|
|
timerCheckPPT.Interval = 500;
|
2024-05-01 18:23:32 +08:00
|
|
|
|
timerKillProcess.Elapsed += TimerKillProcess_Elapsed;
|
2024-06-11 21:42:58 +08:00
|
|
|
|
timerKillProcess.Interval = 2000;
|
2024-05-01 18:23:32 +08:00
|
|
|
|
timerCheckAutoFold.Elapsed += timerCheckAutoFold_Elapsed;
|
2024-06-11 21:42:58 +08:00
|
|
|
|
timerCheckAutoFold.Interval = 500;
|
2024-05-01 18:23:32 +08:00
|
|
|
|
timerCheckAutoUpdateWithSilence.Elapsed += timerCheckAutoUpdateWithSilence_Elapsed;
|
|
|
|
|
timerCheckAutoUpdateWithSilence.Interval = 1000 * 60 * 10;
|
2024-05-04 17:41:34 +08:00
|
|
|
|
WaterMarkTime.DataContext = nowTimeVM;
|
2024-05-04 18:56:19 +08:00
|
|
|
|
WaterMarkDate.DataContext = nowTimeVM;
|
2024-05-04 17:41:34 +08:00
|
|
|
|
timerDisplayTime.Elapsed += TimerDisplayTime_Elapsed;
|
|
|
|
|
timerDisplayTime.Interval = 1000;
|
|
|
|
|
timerDisplayTime.Start();
|
2024-05-04 18:56:19 +08:00
|
|
|
|
timerDisplayDate.Elapsed += TimerDisplayDate_Elapsed;
|
|
|
|
|
timerDisplayDate.Interval = 1000 * 60 * 60 * 1;
|
|
|
|
|
timerDisplayDate.Start();
|
|
|
|
|
nowTimeVM.nowDate = DateTime.Now.ToShortDateString().ToString();
|
|
|
|
|
nowTimeVM.nowTime = DateTime.Now.ToShortTimeString().ToString();
|
2024-05-04 17:41:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
private void TimerDisplayTime_Elapsed(object sender, ElapsedEventArgs e) {
|
2024-05-04 17:41:34 +08:00
|
|
|
|
nowTimeVM.nowTime = DateTime.Now.ToShortTimeString().ToString();
|
2024-05-01 18:23:32 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
private void TimerDisplayDate_Elapsed(object sender, ElapsedEventArgs e) {
|
2024-05-04 18:56:19 +08:00
|
|
|
|
nowTimeVM.nowDate = DateTime.Now.ToShortDateString().ToString();
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
private void TimerKillProcess_Elapsed(object sender, ElapsedEventArgs e) {
|
|
|
|
|
try {
|
2024-05-01 18:23:32 +08:00
|
|
|
|
// 希沃相关: easinote swenserver RemoteProcess EasiNote.MediaHttpService smartnote.cloud EasiUpdate smartnote EasiUpdate3 EasiUpdate3Protect SeewoP2P CefSharp.BrowserSubprocess SeewoUploadService
|
2024-06-05 20:25:26 +08:00
|
|
|
|
var arg = "/F";
|
|
|
|
|
if (Settings.Automation.IsAutoKillPptService) {
|
|
|
|
|
var processes = Process.GetProcessesByName("PPTService");
|
|
|
|
|
if (processes.Length > 0) arg += " /IM PPTService.exe";
|
2024-05-01 18:23:32 +08:00
|
|
|
|
processes = Process.GetProcessesByName("SeewoIwbAssistant");
|
2024-06-05 20:25:26 +08:00
|
|
|
|
if (processes.Length > 0) arg += " /IM SeewoIwbAssistant.exe" + " /IM Sia.Guard.exe";
|
2024-05-01 18:23:32 +08:00
|
|
|
|
}
|
2024-06-05 20:25:26 +08:00
|
|
|
|
|
|
|
|
|
if (Settings.Automation.IsAutoKillEasiNote) {
|
|
|
|
|
var processes = Process.GetProcessesByName("EasiNote");
|
|
|
|
|
if (processes.Length > 0) arg += " /IM EasiNote.exe";
|
2024-05-01 18:23:32 +08:00
|
|
|
|
}
|
2024-06-05 20:25:26 +08:00
|
|
|
|
|
|
|
|
|
if (Settings.Automation.IsAutoKillHiteAnnotation) {
|
|
|
|
|
var processes = Process.GetProcessesByName("HiteAnnotation");
|
|
|
|
|
if (processes.Length > 0) arg += " /IM HiteAnnotation.exe";
|
2024-06-04 21:21:08 +08:00
|
|
|
|
}
|
2024-06-05 20:25:26 +08:00
|
|
|
|
|
|
|
|
|
if (arg != "/F") {
|
|
|
|
|
var p = new Process();
|
2024-05-01 18:23:32 +08:00
|
|
|
|
p.StartInfo = new ProcessStartInfo("taskkill", arg);
|
|
|
|
|
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
|
|
|
|
|
p.Start();
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
if (arg.Contains("EasiNote")) {
|
2024-05-01 18:23:32 +08:00
|
|
|
|
BtnSwitch_Click(BtnSwitch, null);
|
|
|
|
|
MessageBox.Show("“希沃白板 5”已自动关闭");
|
|
|
|
|
}
|
2024-06-05 20:25:26 +08:00
|
|
|
|
|
|
|
|
|
if (arg.Contains("HiteAnnotation")) {
|
2024-06-04 21:21:08 +08:00
|
|
|
|
BtnSwitch_Click(BtnSwitch, null);
|
|
|
|
|
MessageBox.Show("“鸿合屏幕书写”已自动关闭");
|
|
|
|
|
}
|
2024-05-01 18:23:32 +08:00
|
|
|
|
}
|
2024-05-23 02:38:44 +08:00
|
|
|
|
}
|
|
|
|
|
catch { }
|
2024-05-01 18:23:32 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
private bool foldFloatingBarByUser = false, // 保持收纳操作不受自动收纳的控制
|
2024-05-01 18:23:32 +08:00
|
|
|
|
unfoldFloatingBarByUser = false; // 允许用户在希沃软件内进行展开操作
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
private void timerCheckAutoFold_Elapsed(object sender, ElapsedEventArgs e) {
|
2024-05-01 18:23:32 +08:00
|
|
|
|
if (isFloatingBarChangingHideMode) return;
|
2024-06-05 20:25:26 +08:00
|
|
|
|
try {
|
|
|
|
|
var windowProcessName = ForegroundWindowInfo.ProcessName();
|
|
|
|
|
var windowTitle = ForegroundWindowInfo.WindowTitle();
|
2024-05-01 18:23:32 +08:00
|
|
|
|
//LogHelper.WriteLogToFile("windowTitle | " + windowTitle + " | windowProcessName | " + windowProcessName);
|
|
|
|
|
|
2024-06-11 21:42:58 +08:00
|
|
|
|
if (windowProcessName == "EasiNote") {
|
|
|
|
|
// 检测到有可能是EasiNote5或者EasiNote3/3C
|
|
|
|
|
if (ForegroundWindowInfo.ProcessPath() != "Unknown") {
|
|
|
|
|
var versionInfo = FileVersionInfo.GetVersionInfo(ForegroundWindowInfo.ProcessPath());
|
|
|
|
|
string version = versionInfo.FileVersion;
|
|
|
|
|
string prodName = versionInfo.ProductName;
|
|
|
|
|
Trace.WriteLine(ForegroundWindowInfo.ProcessPath());
|
|
|
|
|
Trace.WriteLine(version);
|
|
|
|
|
Trace.WriteLine(prodName);
|
|
|
|
|
if (version.StartsWith("5.") && Settings.Automation.IsAutoFoldInEasiNote && (!(windowTitle.Length == 0 && ForegroundWindowInfo.WindowRect().Height < 500) ||
|
|
|
|
|
!Settings.Automation.IsAutoFoldInEasiNoteIgnoreDesktopAnno)) { // EasiNote5
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
} else if (version.StartsWith("3.") && Settings.Automation.IsAutoFoldInEasiNote3) { // EasiNote3
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
} else if (prodName.Contains("3C") && Settings.Automation.IsAutoFoldInEasiNote3C &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) { // EasiNote3C
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// EasiCamera
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInEasiCamera && windowProcessName == "EasiCamera" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// EasiNote5C
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInEasiNote5C && windowProcessName == "EasiNote5C" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// SeewoPinco
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInSeewoPincoTeacher && (windowProcessName == "BoardService" || windowProcessName == "seewoPincoTeacher")) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// HiteCamera
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInHiteCamera && windowProcessName == "HiteCamera" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// HiteTouchPro
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInHiteTouchPro && windowProcessName == "HiteTouchPro" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// WxBoardMain
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInWxBoardMain && windowProcessName == "WxBoardMain" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// MSWhiteboard
|
2024-06-12 21:04:10 +08:00
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInMSWhiteboard && (windowProcessName == "MicrosoftWhiteboard" ||
|
|
|
|
|
windowProcessName == "msedgewebview2")) {
|
2024-06-11 21:42:58 +08:00
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// OldZyBoard
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInOldZyBoard && // 中原旧白板
|
2024-06-05 20:25:26 +08:00
|
|
|
|
(WinTabWindowsChecker.IsWindowExisted("WhiteBoard - DrawingWindow")
|
2024-06-11 21:42:58 +08:00
|
|
|
|
|| WinTabWindowsChecker.IsWindowExisted("InstantAnnotationWindow"))) {
|
2024-06-05 20:25:26 +08:00
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
2024-06-11 21:42:58 +08:00
|
|
|
|
// HiteLightBoard
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInHiteLightBoard && windowProcessName == "HiteLightBoard" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
2024-06-12 21:04:10 +08:00
|
|
|
|
// AdmoxWhiteboard
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInAdmoxWhiteboard && windowProcessName == "Amdox.WhiteBoard" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// AdmoxBooth
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInAdmoxBooth && windowProcessName == "Amdox.Booth" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// QPoint
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInQPoint && windowProcessName == "QPoint" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// YiYunVisualPresenter
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInYiYunVisualPresenter && windowProcessName == "YiYunVisualPresenter" &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
// MaxHubWhiteboard
|
|
|
|
|
} else if (Settings.Automation.IsAutoFoldInMaxHubWhiteboard && windowProcessName == "WhiteBoard" &&
|
|
|
|
|
WinTabWindowsChecker.IsWindowExisted("白板书写") &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Height >= SystemParameters.WorkArea.Height - 16 &&
|
|
|
|
|
ForegroundWindowInfo.WindowRect().Width >= SystemParameters.WorkArea.Width - 16) {
|
|
|
|
|
if (ForegroundWindowInfo.ProcessPath() != "Unknown") {
|
|
|
|
|
var versionInfo = FileVersionInfo.GetVersionInfo(ForegroundWindowInfo.ProcessPath());
|
|
|
|
|
var version = versionInfo.FileVersion; var prodName = versionInfo.ProductName;
|
|
|
|
|
if (version.StartsWith("6.") && prodName=="WhiteBoard") if (!unfoldFloatingBarByUser && !isFloatingBarFolded) FoldFloatingBar_MouseUp(null, null);
|
|
|
|
|
}
|
2024-06-11 21:42:58 +08:00
|
|
|
|
} else if (WinTabWindowsChecker.IsWindowExisted("幻灯片放映", false)) {
|
2024-06-05 20:25:26 +08:00
|
|
|
|
// 处于幻灯片放映状态
|
2024-05-23 02:38:44 +08:00
|
|
|
|
if (!Settings.Automation.IsAutoFoldInPPTSlideShow && isFloatingBarFolded && !foldFloatingBarByUser)
|
2024-06-05 20:25:26 +08:00
|
|
|
|
UnFoldFloatingBar_MouseUp(new object(), null);
|
2024-06-11 21:42:58 +08:00
|
|
|
|
} else {
|
2024-06-05 20:25:26 +08:00
|
|
|
|
if (isFloatingBarFolded && !foldFloatingBarByUser) UnFoldFloatingBar_MouseUp(new object(), null);
|
2024-05-01 18:23:32 +08:00
|
|
|
|
unfoldFloatingBarByUser = false;
|
|
|
|
|
}
|
2024-05-23 02:38:44 +08:00
|
|
|
|
}
|
|
|
|
|
catch { }
|
2024-05-01 18:23:32 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-06-05 20:25:26 +08:00
|
|
|
|
private void timerCheckAutoUpdateWithSilence_Elapsed(object sender, ElapsedEventArgs e) {
|
2024-05-01 18:23:32 +08:00
|
|
|
|
Dispatcher.Invoke(() => {
|
2024-06-05 20:25:26 +08:00
|
|
|
|
try {
|
|
|
|
|
if (!Topmost || inkCanvas.Strokes.Count > 0) return;
|
2024-05-23 02:38:44 +08:00
|
|
|
|
}
|
2024-06-05 20:25:26 +08:00
|
|
|
|
catch (Exception ex) {
|
2024-05-01 18:23:32 +08:00
|
|
|
|
LogHelper.WriteLogToFile(ex.ToString(), LogHelper.LogType.Error);
|
|
|
|
|
}
|
|
|
|
|
});
|
2024-06-05 20:25:26 +08:00
|
|
|
|
try {
|
|
|
|
|
if (AutoUpdateWithSilenceTimeComboBox.CheckIsInSilencePeriod(
|
|
|
|
|
Settings.Startup.AutoUpdateWithSilenceStartTime,
|
|
|
|
|
Settings.Startup.AutoUpdateWithSilenceEndTime)) {
|
2024-05-01 18:23:32 +08:00
|
|
|
|
AutoUpdateHelper.InstallNewVersionApp(AvailableLatestVersion, true);
|
|
|
|
|
timerCheckAutoUpdateWithSilence.Stop();
|
|
|
|
|
}
|
2024-05-23 02:38:44 +08:00
|
|
|
|
}
|
2024-06-05 20:25:26 +08:00
|
|
|
|
catch (Exception ex) {
|
2024-05-01 18:23:32 +08:00
|
|
|
|
LogHelper.WriteLogToFile(ex.ToString(), LogHelper.LogType.Error);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-06-05 20:25:26 +08:00
|
|
|
|
}
|