private void TabForm_MouseHover(object sender, EventArgs e) { if (!this.ContainsFocus) { if (UiTools.IsAppFocused()) { Focus(); } } }