Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I would like a Childwindow popup box to popup at the same time (or near as) when my Silverlight main page is loaded. I am still learning this as a hobby and I don't know what event or markup to use to acomplish this exercise. any C or VB example would be appreciated.
Kind regards
Will.
Posted

1 solution

Thanks but I got the solution from the Microsoft Silverlight Forums

VB
Public Sub New()
    InitializeComponent()
    AddHandler Me.Loaded, AddressOf MainPage_Loaded
End Sub



VB
Private Sub MainPage_Loaded(sender As Object, e As RoutedEventArgs)
    Dim cw As New ChildWindow1
    cw.Show()
End Sub
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900