I'm still at a loss here. Anyone have any suggestions? Thanks
"B Wiesner" wrote:
> Is this documented somewhere, (along with any other changes like this) I've
> searched but no luck. Also, since this has changed, is there a suggested best
> practice for loading a second form like this while the first one is loading?
>
> Thanks for the help.
>
>
> "Darren Shaffer" wrote:
>
> > yes, the load event on CF2.0 forms behaves differently than in 1.0
> > --
> > Darren Shaffer
> > ..NET Compact Framework MVP
> > Principal Architect
> > Connected Innovation
> >
www.connectedinnovation.com > >
> >
> > "B Wiesner" <BWiesner@discussions.microsoft.com> wrote in message
> > news:9EB0422E-3E77-4034-8ADA-5094129B8F28@microsoft.com...
> > > Is this new behavior in cf 2.0? I've been under the assumption that this
> > > was
> > > ok, as it has been working fine in the past (CF 1.0).
> > >
> > > Thanks for the reply.
> > >
> > > "Darren Shaffer" wrote:
> > >
> > >> it's because you're trying to show Form2 in Form1's Load method
> > >> that this is happening.
> > >> --
> > >> Darren Shaffer
> > >> ..NET Compact Framework MVP
> > >> Principal Architect
> > >> Connected Innovation
> > >>
www.connectedinnovation.com > > >>
> > >> "B Wiesner" <BWiesner@discussions.microsoft.com> wrote in message
> > >> news:72576EA6-0101-48A6-880A-1A29A42D6860@microsoft.com...
> > >> >I just converted my app from VS.NET 2003 to VS.NET 2005 Beta 2, and the
> > >> >first
> > >> > issue I came to was that "form.show" is loading the form, but not
> > >> > displaying
> > >> > it.
> > >> >
> > >> > I created a new project, and added Form1 and Form2. The following code
> > >> > is
> > >> > in
> > >> > Form1.
> > >> >
> > >> > Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
> > >> > System.EventArgs) Handles MyBase.Load
> > >> > Dim tf As New Form2
> > >> > tf.Show()
> > >> > End Sub
> > >> >
> > >> > When I run my app, Form2 is in the running programs list, but Form1 is
> > >> > still
> > >> > the top form displayed.
> > >> >
> > >> > Please tell me I'm overlooking something simple. Thanks for the help.
> > >> >
> > >> > Brandon
> > >>
> > >>
> > >>
> >
> >