locked
route event RRS feed

  • General discussion

  • Partial Public Class MyControl
       Public Sub X
          Dim MyParentForm as ParentForm = New ParentForm
          MyParentForm.StartMyStoryBoard()
       End Sub
    End Class


    Partial Public Class MyParentForm

       Public Sub StartMyStoryBoard()
          system.windows.forms.messagebox.show("Hello") '<<<<This MSGBOX works but the storyboard wont begin()
           Dim StartAnimation As Storyboard = DirectCast(FindResource("Sublist_1_Show"), Storyboard)
           Me.BeginStoryboard(StartAnimation)
       End Sub

    End Class
    Wednesday, November 11, 2009 9:41 AM