代码优化

This commit is contained in:
2026-02-21 16:51:34 +08:00
parent 469dbd1497
commit 99ec2d7609
31 changed files with 171 additions and 158 deletions
@@ -1,4 +1,4 @@
using iNKORE.UI.WPF.Helpers;
using iNKORE.UI.WPF.Helpers;
using Ink_Canvas.Helpers;
using OSVersionExtension;
using System;
@@ -38,7 +38,7 @@ namespace Ink_Canvas.Windows.SettingsViews
CopyrightBannerImage.Source =
new BitmapImage(new Uri($"file://{App.RootPath + "icc-about-illustrations.png"}"));
}
catch { }
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex); }
}
else
{
@@ -173,7 +173,7 @@ namespace Ink_Canvas.Windows.SettingsViews
}
}
}
catch { }
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex); }
}
public static class TouchTabletDetectHelper
@@ -171,7 +171,7 @@ namespace Ink_Canvas.Windows.SettingsViews
ThemeHelper.ApplyThemeToControl(this);
LoadSettings();
}
catch { }
catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex); }
}
}
}