Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 10th, 2007, 04:53 AM
Authorized User
 
Join Date: Nov 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to karveajit
Default Problem with form.ShowDialog()

Hello,

I have a winform which I'm opening with Frm.ShowDialog(). But, when I open any other dialog box (e.e Select file dialog box) through that form and click OK on that dialog. It is closing my form also.

How I can stop such form behavior?
A quick response would be really appreciated.

Thanks,
Ajit
 
Old October 6th, 2007, 04:35 PM
Authorized User
 
Join Date: Dec 2004
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to DZukiewicz
Default

ShowDialog() will pause execution of the current form until the newly shown form is closed. This may be why.

Regards,

Dom





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with ShowDialog() mori .NET Framework 2.0 0 August 21st, 2008 07:19 AM
Alternative of Form.ShowDialog(this) for .NET CF? arif_1947 VS.NET 2002/2003 0 November 9th, 2004 05:12 AM
Form problem HammR Beginning PHP 4 March 17th, 2004 09:14 PM
Showdialog Help!!! KL VS.NET 2002/2003 1 December 15th, 2003 05:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.