public void ChangeTabUnreadManage(string tabName, bool isManage) { int idx; for (idx = 0; idx < ListTab.TabCount; idx++) { if (ListTab.TabPages[idx].Text == tabName) { break; } } _statuses.SetTabUnreadManage(tabName, isManage); if (_configs.TabIconDisp) { ListTab.TabPages[idx].ImageIndex = _statuses.Tabs[tabName].UnreadCount > 0 ? 0 : -1; } if (_curTab.Text == tabName) { _itemCache = null; _postCache = null; _curList.Refresh(); } SetMainWindowTitle(); SetStatusLabelUrl(); if (!_configs.TabIconDisp) { ListTab.Refresh(); } }