private void ProcessesTab_OnClick(object sender, RoutedEventArgs e) { TabControl.SelectedIndex = 0; }