private void SelectTab(int tabIndex) { if (tabIndex == 0) { tabExplorers.SelectedTab = tabExplorers.TabPages[0]; menuFoldersExplorer.Checked = true; menuSearchPanel.Checked = false; _com.GoActiveFolder(); } else if (tabIndex == 1) { tabExplorers.SelectedTab = tabExplorers.TabPages[1]; menuFoldersExplorer.Checked = false; menuSearchPanel.Checked = true; _com.GoActiveFilter(); } }