public void ShowMotherboardWindow() { if (_motherboardWindow.Visibility == Visibility.Visible) { _motherboardWindow.Visibility = Visibility.Hidden; AppInfo.MotherboardWindowVisible = false; } else if (_motherboardWindow.Visibility == Visibility.Hidden) { _motherboardWindow.Visibility = Visibility.Visible; AppInfo.MotherboardWindowVisible = true; WindowPosition.UpdateMotherboardWindowPosition(); } }