Advertisement

04.11.2008 at 09:42AM PDT, ID: 23315731
[x]
Attachment Details

Best Method For Closing/Hiding A Form

Asked by ITApprendista in Windows Forms for .Net, Microsoft Visual Basic.Net

Tags: VB.NET, Windows Forms

I am wondering what the best practice is for closing one form and viewing another in a Windows Form app.  I have been using Me.Hide() to close the form and SomeForm.Show() but I'm wondering if this is a good practice.  Since there is data being changed that is linked to DataGridViews, if I just hide a form and then eventually Show it later on will the data be up to date?  Does just hiding/showing really refresh a form

I'm also wondering in general how I can pass the screen location coordinates from one form to another so that the windows

My app is similar in function to a basic Windows Wizard, so you hit Next and one form goes away and another appears.Start Free Trial
[+][-]04.11.2008 at 09:55AM PDT, ID: 21335982

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.11.2008 at 10:03AM PDT, ID: 21336063

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.11.2008 at 01:17PM PDT, ID: 21337840

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows Forms for .Net, Microsoft Visual Basic.Net
Tags: VB.NET, Windows Forms
Sign Up Now!
Solution Provided By: Idle_Mind
Participating Experts: 3
Solution Grade: A
 
 
[+][-]04.11.2008 at 01:17PM PDT, ID: 21337841

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.11.2008 at 01:18PM PDT, ID: 21337852

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.11.2008 at 01:19PM PDT, ID: 21337863

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628