|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Hiding DialogHi EveryBody:
How can I hide a dialog from abutton in the same dialog, I dont want to end the program I just want to hide the dialog, How can I do that ? Any help will be appreciated regared's Husam Husam wrote:
> Hi EveryBody: In the Button Click event run "Me.Hide"> > How can I hide a dialog from abutton in the same dialog, I dont want to end > the program I just want to hide the dialog, How can I do that ? > > Any help will be appreciated > > regared's > > Husam Chris "Husam" <Hu***@discussions.microsoft.com> schrieb: 'Me.Visible = False' or 'Me.Hide()'.> How can I hide a dialog from abutton in the same dialog, I dont want to > end > the program I just want to hide the dialog, How can I do that ? -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> If you used .ShowDialog to show the form, you can just set the dialog result
and the form will be hidden and control returned to whereever you showed the dialog: Me.DialogResult = DialogResult.OK Show quoteHide quote "Husam" wrote: > Hi EveryBody: > > How can I hide a dialog from abutton in the same dialog, I dont want to end > the program I just want to hide the dialog, How can I do that ? > > Any help will be appreciated > > regared's > > Husam |
|||||||||||||||||||||||