Skip to main content

Microsoft Silverlight

Answered Question Open childwindow in sub newRSS Feed

(0)

Agnushallard
Agnushal...

Member

Member

54 points

140 Posts

Open childwindow in sub new

How I open a Childwindow in the Mainpage sub new??

I try this, but is not working.

Public Sub New()
InitializeComponent()
Dim log As ChildWindow = New LoginWindow
log.Show()

End Sub

 

Using

Visual Studio 2008
Silverlight 3
WCF
MySQL

msalsbery
msalsbery

Contributor

Contributor

2066 points

379 Posts

Answered Question

Re: Open childwindow in sub new

I would create/show the ChildWindow in a Loaded event handler instead of in the constructor.


Mark Salsbery
Microsoft MVP - Visual C++
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities