private void RibbonWindow_StateChanged(object sender, EventArgs e) {
//tcMain.CurrentTabItem = tcMain.SelectedItem as Wpf.Controls.TabItem;
tcMain.IsSelectionHandled = true;
//if (this.WindowState != WindowState.Minimized && this.IsActive) focusTimer.Start();
}