Click here to Skip to main content
15,896,478 members
Home / Discussions / C#
   

C#

 
AnswerRe: Working with multiple forms Pin
Luc Pattyn18-Jul-09 3:07
sitebuilderLuc Pattyn18-Jul-09 3:07 
Hi,

Form.ShowDialog() waits for the new Form to be closed, so your Dispose statement isn't helping at all.
Try this:
this.Hide();
_Form2.ShowDialog();
this.Show();   // optional


Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Working with multiple forms Pin
SimpleData18-Jul-09 3:15
SimpleData18-Jul-09 3:15 
GeneralRe: Working with multiple forms Pin
Luc Pattyn18-Jul-09 3:27
sitebuilderLuc Pattyn18-Jul-09 3:27 
GeneralRe: Working with multiple forms Pin
SimpleData18-Jul-09 3:35
SimpleData18-Jul-09 3:35 
GeneralRe: Working with multiple forms Pin
Luc Pattyn18-Jul-09 3:53
sitebuilderLuc Pattyn18-Jul-09 3:53 
GeneralRe: Working with multiple forms Pin
SimpleData18-Jul-09 4:14
SimpleData18-Jul-09 4:14 
QuestionAccess Database in Remote Server from LAN Pin
vasanth arivali18-Jul-09 1:58
vasanth arivali18-Jul-09 1:58 
AnswerRe: Access Database in Remote Server from LAN Pin
dan!sh 18-Jul-09 3:08
professional dan!sh 18-Jul-09 3:08 
AnswerRe: Access Database in Remote Server from LAN Pin
Monjurul Habib5-Jun-11 7:36
professionalMonjurul Habib5-Jun-11 7:36 
QuestionGet full HTML-code Pin
Martijn Verbakel18-Jul-09 0:28
Martijn Verbakel18-Jul-09 0:28 
AnswerRe: Get full HTML-code Pin
Mycroft Holmes18-Jul-09 0:47
professionalMycroft Holmes18-Jul-09 0:47 
GeneralRe: Get full HTML-code Pin
Martijn Verbakel18-Jul-09 0:51
Martijn Verbakel18-Jul-09 0:51 
QuestionHow do i know in which drive the operating system is installed in a c# application? Pin
CoderForEver17-Jul-09 23:20
CoderForEver17-Jul-09 23:20 
AnswerRe: How do i know in which drive the operating system is installed in a c# application? Pin
Luc Pattyn17-Jul-09 23:50
sitebuilderLuc Pattyn17-Jul-09 23:50 
GeneralRe: How do i know in which drive the operating system is installed in a c# application? Pin
Baeltazor18-Jul-09 0:37
Baeltazor18-Jul-09 0:37 
GeneralRe: How do i know in which drive the operating system is installed in a c# application? Pin
Luc Pattyn18-Jul-09 0:39
sitebuilderLuc Pattyn18-Jul-09 0:39 
JokeRe: How do i know in which drive the operating system is installed in a c# application? Pin
Mycroft Holmes18-Jul-09 0:49
professionalMycroft Holmes18-Jul-09 0:49 
GeneralRe: How do i know in which drive the operating system is installed in a c# application? Pin
Luc Pattyn18-Jul-09 0:54
sitebuilderLuc Pattyn18-Jul-09 0:54 
GeneralRe: How do i know in which drive the operating system is installed in a c# application? Pin
CoderForEver18-Jul-09 18:30
CoderForEver18-Jul-09 18:30 
QuestionHow can i play a flash(.swf) file in a c# application? Pin
CoderForEver17-Jul-09 23:14
CoderForEver17-Jul-09 23:14 
AnswerRe: How can i play a flash(.swf) file in a c# application? Pin
Mycroft Holmes18-Jul-09 0:52
professionalMycroft Holmes18-Jul-09 0:52 
AnswerRe: How can i play a flash(.swf) file in a c# application? Pin
vasanth arivali20-Jul-09 19:15
vasanth arivali20-Jul-09 19:15 
GeneralRe: How can i play a flash(.swf) file in a c# application? Pin
CoderForEver22-Jul-09 1:44
CoderForEver22-Jul-09 1:44 
GeneralRe: How can i play a flash(.swf) file in a c# application? Pin
CoderForEver22-Jul-09 2:15
CoderForEver22-Jul-09 2:15 
GeneralRe: How can i play a flash(.swf) file in a c# application? Pin
vasanth arivali22-Jul-09 3:25
vasanth arivali22-Jul-09 3:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.