void ExButtonMouseEnter(object sender, MouseEventArgs e) { if (!RouteLinkClickEvent) { if (!UserSettings.CurrentSettings.LearnLinkEnabled) { if (!Microsoft.Windows.Shell.SystemParameters2.Current.IsGlassEnabled | !UserSettings.CurrentSettings.UseAeroScheme) { return; } Entertype2.Begin(); return; } } if (UserSettings.CurrentSettings.UseAeroScheme && Microsoft.Windows.Shell.SystemParameters2.Current.IsGlassEnabled) { Enter.Begin(); } else { NoAeroEnter.Begin(); } }