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
"B Wiesner" <BWie...@discussions.microsoft.com> wrote in message
news:72576EA6-0101-48A6...@microsoft.com...
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
"B Wiesner" <BWie...@discussions.microsoft.com> wrote in message
news:9EB0422E-3E77-4034...@microsoft.com...
Thanks for the help.
"Darren Shaffer" wrote:
> yes, the load event on CF2.0 forms behaves differently than in 1.0
> --
> Darren Shaffer