Bend.MainWindow.Logo_MouseDown C# (CSharp) Method

Logo_MouseDown() private method

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