Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
AnswerRe: DROP TABLE execute Pin
Colin Angus Mackay13-Sep-05 8:12
Colin Angus Mackay13-Sep-05 8:12 
GeneralRe: DROP TABLE execute Pin
zaboboa13-Sep-05 9:12
zaboboa13-Sep-05 9:12 
QuestionAdding second header column to DataGrid Pin
zaboboa13-Sep-05 6:19
zaboboa13-Sep-05 6:19 
QuestionCalling a JAVA Webservice from .NET over http/1.0 Pin
Anonymous13-Sep-05 5:39
Anonymous13-Sep-05 5:39 
QuestionCalling a JAVA Webservice from .NET over http/1.0 Pin
SimonPust13-Sep-05 5:24
SimonPust13-Sep-05 5:24 
AnswerRe: Calling a JAVA Webservice from .NET over http/1.0 Pin
Andy Brummer13-Sep-05 6:27
sitebuilderAndy Brummer13-Sep-05 6:27 
QuestionCreate 2 forms from button press Pin
LiamD13-Sep-05 4:31
LiamD13-Sep-05 4:31 
AnswerRe: Create 2 forms from button press Pin
QuietKnight13-Sep-05 4:46
QuietKnight13-Sep-05 4:46 
There are two ways to show forms: modal and nonmodal. Modal means that the form being displayed must be closed before any further execution. This is like when you close Notepad before saving and it asks you if you would like to save. You MUST answer the question (and close the form) before you can click on the main notepad form or continue doing anything else in Notepad. This also means that your code blocks until that form is closed. In other words, frm2.ShowDialog(this); doesnt execute until frm1 is closed. The second, nonmodal, does not have these restrictions and is simply a normal form.

In .NET, the Form class has two methods, Show() and ShowDialog(). Show corresponds to a nonmodal form, and ShowDialog() corresponds to a modal form. To fix your problem, simply use Show() instead of ShowDialog().
AnswerRe: Create 2 forms from button press Pin
Dave Kreskowiak13-Sep-05 4:54
mveDave Kreskowiak13-Sep-05 4:54 
AnswerRe: Create 2 forms from button press Pin
LiamD13-Sep-05 21:28
LiamD13-Sep-05 21:28 
GeneralRe: Create 2 forms from button press Pin
Large Data File13-Sep-05 21:39
Large Data File13-Sep-05 21:39 
GeneralRe: Create 2 forms from button press Pin
LiamD14-Sep-05 0:31
LiamD14-Sep-05 0:31 
GeneralRe: Create 2 forms from button press Pin
Large Data File29-Oct-05 22:43
Large Data File29-Oct-05 22:43 
QuestionDrawing a polygon Pin
subramanyeswari13-Sep-05 2:33
subramanyeswari13-Sep-05 2:33 
AnswerRe: Drawing a polygon Pin
Dave Kreskowiak13-Sep-05 5:51
mveDave Kreskowiak13-Sep-05 5:51 
GeneralRe: Drawing a polygon Pin
subramanyeswari14-Sep-05 4:25
subramanyeswari14-Sep-05 4:25 
GeneralRe: Drawing a polygon Pin
Dave Kreskowiak14-Sep-05 12:42
mveDave Kreskowiak14-Sep-05 12:42 
QuestionHow do I tell .NET where to put my referenced DLLs when using "Copy Local" Pin
MaWeRic13-Sep-05 2:26
MaWeRic13-Sep-05 2:26 
AnswerRe: How do I tell .NET where to put my referenced DLLs when using "Copy Local" Pin
Andrew Kirillov13-Sep-05 3:35
Andrew Kirillov13-Sep-05 3:35 
QuestionConceptual problem with interfaces Pin
Goebel13-Sep-05 1:02
Goebel13-Sep-05 1:02 
AnswerRe: Conceptual problem with interfaces Pin
leppie13-Sep-05 1:24
leppie13-Sep-05 1:24 
QuestionWindows Services Pin
sevan13-Sep-05 1:00
sevan13-Sep-05 1:00 
AnswerRe: Windows Services Pin
leppie13-Sep-05 1:39
leppie13-Sep-05 1:39 
AnswerRe: Windows Services Pin
Dave Kreskowiak13-Sep-05 4:49
mveDave Kreskowiak13-Sep-05 4:49 
QuestionCalling C/C++ function from C# Pin
E6AD13-Sep-05 0:35
E6AD13-Sep-05 0:35 

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.