private void Window_MouseLeave(object sender, MouseEventArgs e) { BtnClose.BeginAnimation(OpacityProperty, Animations.FadeOut); }