
04-27-2010, 08:36 AM
|
 |
Fabulous Florist
Forum Leader * Guru *
|
|
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,416
|
|
First, you create the form that will be the "About" form.
From there you have two choices: display the form as a modal or modeless form. Modal forms "block" the parent form until you dismiss them. That's usually how dialogs work. We'll run with this choice.
To show the about form as a modal dialog, you create the about form and call its ShowDialog() method.
Let's pretend you implemented the form and called it "AboutForm". This is what the code to create it and show it as a modal dialog looks like:
Code:
Dim about As New AboutForm()
about.ShowDialog()
If you want that to happen in response to an OK button click, you put the code in that button's event handler.
|
|