添加列宽缓存功能,支持在多个 UI 控件中保存和恢复列宽设置

This commit is contained in:
waynebian01
2026-08-22 15:08:37 +08:00
parent 4affcb18a1
commit e1bebefe06
7 changed files with 266 additions and 144 deletions

View File

@@ -2042,6 +2042,7 @@ public sealed class MainForm : Form, IMessageFilter
{
var latestCache = UiCacheStore.Load();
_uiCache.ModuleRulesGridColumns = latestCache.ModuleRulesGridColumns;
_uiCache.ColumnWidths = latestCache.ColumnWidths;
var currentBounds = CaptureMainWindowBounds();
_uiCache.MainWindowBounds = currentBounds;