/// <summary> /// удалить активную вкладку /// </summary> public void TabDelete() { try { if (ActivTab == null) { return; } ActivTab.Delete(); _botTabs.Remove(ActivTab); if (_botTabs != null && _botTabs.Count != 0) { ChangeActivTab(0); } ReloadTab(); } catch (Exception error) { SendNewLogMessage(error.ToString(), LogMessageType.Error); } }