public void CreateTab(TabModel info) { this._tabs.Add(info); this.CurrentFocusTabIndex = this._tabs.Count - 1; // commit changes TabManager.Save(); }
public void RemoveTab(int index) { if (this._tabs.Count > 1) { this.CurrentFocusTabIndex = index >= this._tabs.Count - 1 ? index - 1 : index; } this._tabs.RemoveAt(index); // commit changes TabManager.Save(); }
private void OnUpdateBoundAccounts() { this.BindingAccountsChanged.SafeInvoke(); TabManager.Save(); }