Ejemplo n.º 1
0
        void ExButtonMouseLeave(object sender, MouseEventArgs e)
        {
            if (!RouteLinkClickEvent)
            {
                if (!UserSettings.CurrentSettings.LearnLinkEnabled)
                {
                    if (!Microsoft.Windows.Shell.SystemParameters2.Current.IsGlassEnabled | !UserSettings.CurrentSettings.UseAeroScheme)
                    {
                        return;
                    }

                    Leavetype2.Begin();
                    return;
                }
            }

            if (UserSettings.CurrentSettings.UseAeroScheme && Microsoft.Windows.Shell.SystemParameters2.Current.IsGlassEnabled)
            {
                Leave.Begin();
            }
            else
            {
                NoAeroLeave.Begin();
            }
        }
 private void Show_Completed(object sender, object e)
 {
     Leave.Begin();
 }