protected override void OnClosed(EventArgs e) { base.OnClosed(e); SystemTray.HideSystemTrayIcon(); _autoRefresh.CallDispose(); _tabIcons.CallDispose(); }
protected override void OnClosed(EventArgs e) { base.OnClosed(e); SystemTray.HideSystemTrayIcon(); if (_networkRefreshList != null && _networkRefreshList.Any()) { _networkRefreshList.ForEach(p => p.CallDispose()); _networkRefreshList.Clear(); } _tabIcons.CallDispose(); }