Create an interactive animation using XAML and the Storyboard
//File:Window.xaml.vb
Imports System
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Input
Imports System.Windows.Media
Imports System.Windows.Shapes
Namespace WpfApplication1
Public Partial Class CombineTransformAnimation
Inherits Window
Public Sub New()
InitializeComponent()
End Sub
Private Sub btn1_Click(sender As Object, e As RoutedEventArgs)
tb1.Text = "You are clicking on " + btn1.Content
End Sub
Private Sub btn2_Click(sender As Object, e As RoutedEventArgs)
tb1.Text = "You are clicking on " + btn2.Content
End Sub
Private Sub btnClose_Click(sender As Object, e As RoutedEventArgs)
Me.Close()
End Sub
End Class
End Namespace