|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Pop up dialog after Main Form displayedHi all,
I am developing a windows application. After the main form is displayed, I want to immediately pop up a message box e.g. MsgBox("Hello"). However, if I place the MsgBox code inside MainForm_Load(,) MyBase.Load, the message box will appear before the display of the main form. So in which form event or method we can know the main form has just been displayed? Thanks, Jason Jason wrote:
> However, if I place the MsgBox code inside MainForm_Load(,) Try adding "Me.Show()" directly before the MsgBox().> MyBase.Load, the message box will appear before the display of the > main form. -- (O)enone Or you could put it in the form's "Shown" event.
Thanks, Seth Rowe Oenone wrote: Show quoteHide quote > Jason wrote: > > However, if I place the MsgBox code inside MainForm_Load(,) > > MyBase.Load, the message box will appear before the display of the > > main form. > > Try adding "Me.Show()" directly before the MsgBox(). > > -- > > (O)enone Hello,
I cannot find a "Shown" event in a form. Where could you find it? I am using ..NET 1.1 Thanks, Jason "rowe_newsgroups" <rowe_em***@yahoo.com> ???????:1158423149.987149.279***@i42g2000cwa.googlegroups.com...Show quoteHide quote > Or you could put it in the form's "Shown" event. > > Thanks, > > Seth Rowe > > Oenone wrote: >> Jason wrote: >> > However, if I place the MsgBox code inside MainForm_Load(,) >> > MyBase.Load, the message box will appear before the display of the >> > main form. >> >> Try adding "Me.Show()" directly before the MsgBox(). >> >> -- >> >> (O)enone > On Mon, 18 Sep 2006 12:33:28 +0800, "Jason" <jason_y***@gmail.com> wrote: Form Shown event is new in Net 2.0.>Hello, > >I cannot find a "Shown" event in a form. Where could you find it? I am using >.NET 1.1 > >Thanks, >Jason > > Gene Show quoteHide quote >"rowe_newsgroups" <rowe_em***@yahoo.com> >???????:1158423149.987149.279***@i42g2000cwa.googlegroups.com... >> Or you could put it in the form's "Shown" event. >> >> Thanks, >> >> Seth Rowe >> >> Oenone wrote: >>> Jason wrote: >>> > However, if I place the MsgBox code inside MainForm_Load(,) >>> > MyBase.Load, the message box will appear before the display of the >>> > main form. >>> >>> Try adding "Me.Show()" directly before the MsgBox(). >>> >>> -- >>> >>> (O)enone >> >
Creating an array of datarows
Datatable display help help Optimisation for shareware packages SNMP Setting the "Restore Down" Size How to get a KEY from a sorted list (not a VALUE) ?? Timeout on connection to SQL server Suggestions using a datatable? disable restore contorl for mdi child forms battle tank 2005 |
|||||||||||||||||||||||