private void BackImage_MouseDown(object sender, MouseButtonEventArgs e)
{
try
{
System.Windows.Media.Animation.Storyboard settingsAnimation = (System.Windows.Media.Animation.Storyboard)FindResource("slideSettingsOut");
MainWindowGridRotateTransform.CenterX = this.Width / 3;
MainWindowGridRotateTransform.CenterY = this.Height;
SettingsGridRotateTransform.CenterX = this.Width / 1.5;
SettingsGridRotateTransform.CenterY = this.Height;
settingsAnimation.Begin(this);
}
catch
{
}
}