Click here to Skip to main content
15,908,173 members
Home / Discussions / C#
   

C#

 
QuestionDataTable.Select find rows within a specified column is null Pin
pcflasch22-Oct-06 6:21
pcflasch22-Oct-06 6:21 
AnswerRe: DataTable.Select find rows within a specified column is null Pin
Guffa22-Oct-06 6:34
Guffa22-Oct-06 6:34 
GeneralRe: DataTable.Select find rows within a specified column is null Pin
pcflasch22-Oct-06 7:32
pcflasch22-Oct-06 7:32 
QuestionCancel minimize problem Pin
Alocto22-Oct-06 4:40
Alocto22-Oct-06 4:40 
AnswerRe: Cancel minimize problem Pin
thegloomyclown22-Oct-06 6:14
thegloomyclown22-Oct-06 6:14 
GeneralRe: Cancel minimize problem Pin
Alocto22-Oct-06 7:26
Alocto22-Oct-06 7:26 
GeneralRe: Cancel minimize problem Pin
Stefan Troschuetz22-Oct-06 21:28
Stefan Troschuetz22-Oct-06 21:28 
QuestionShowDialog() problem Pin
thegloomyclown22-Oct-06 0:45
thegloomyclown22-Oct-06 0:45 
Hi everyone,

I've been having a problem when using ShowDialog (more that it doesn't do what I want it to do Smile | :) )
I've got a main form, from which I create a child form which I want to always be available (I use Form.Show() to show it).

Later on, the main form will then show dialog forms (using Form.ShowDialog()). The problem is that doing this causes the child form (which I want to always be available) to be blocked along with the main form, so the user can only use the new dialog form.

Is there a simple way around this? I'd prefer not to have to change using ShowDialog, because I do this all over the place. Can I just change what I do with the child form I want to always be available?

Here's a quick example piece of code which has the effect I'm trying to explain:

private void MainForm_Shown(object sender, EventArgs e)<br />
{<br />
    Form alwaysAvailableChild = new Form();<br />
    alwaysAvailableChild.Text = "Should be Always Available";<br />
    alwaysAvailableChild.Show();<br />
<br />
    Form dialog = new Form();<br />
    dialog.Text = "Dialog";<br />
    dialog.ShowDialog();<br />
}


Cheers in advance.
AnswerRe: ShowDialog() problem Pin
Alocto22-Oct-06 4:52
Alocto22-Oct-06 4:52 
GeneralRe: ShowDialog() problem Pin
thegloomyclown22-Oct-06 5:17
thegloomyclown22-Oct-06 5:17 
GeneralRe: ShowDialog() problem Pin
Alocto22-Oct-06 7:22
Alocto22-Oct-06 7:22 
GeneralRe: ShowDialog() problem Pin
thegloomyclown22-Oct-06 9:18
thegloomyclown22-Oct-06 9:18 
Questionhow to get Hardware Id in c#2005 ? Pin
hdv21222-Oct-06 0:06
hdv21222-Oct-06 0:06 
AnswerRe: how to get Hardware Id in c#2005 ? Pin
pbeesley198922-Oct-06 1:00
pbeesley198922-Oct-06 1:00 
Questionwant ask about dropdownlist method Pin
iyoko21-Oct-06 22:46
iyoko21-Oct-06 22:46 
AnswerRe: want ask about dropdownlist method Pin
Michael P Butler22-Oct-06 8:34
Michael P Butler22-Oct-06 8:34 
Questionadd to IE [modified] Pin
m_mor21-Oct-06 22:23
m_mor21-Oct-06 22:23 
QuestionHow can I use an Java Applet in C#? Pin
Orchid8521-Oct-06 21:30
Orchid8521-Oct-06 21:30 
Questionwindows drive Pin
Nafiseh Salmani21-Oct-06 20:52
Nafiseh Salmani21-Oct-06 20:52 
AnswerRe: windows drive Pin
thegloomyclown22-Oct-06 0:53
thegloomyclown22-Oct-06 0:53 
AnswerRe: windows drive Pin
Stefan Troschuetz22-Oct-06 1:02
Stefan Troschuetz22-Oct-06 1:02 
QuestionCalculating execution time less than 1 tick Pin
islheg21-Oct-06 18:50
islheg21-Oct-06 18:50 
AnswerRe: Calculating execution time less than 1 tick Pin
Nicholas Butler21-Oct-06 23:47
sitebuilderNicholas Butler21-Oct-06 23:47 
GeneralRe: Calculating execution time less than 1 tick Pin
Dave Kreskowiak22-Oct-06 2:24
mveDave Kreskowiak22-Oct-06 2:24 
GeneralRe: Calculating execution time less than 1 tick Pin
Nicholas Butler22-Oct-06 2:48
sitebuilderNicholas Butler22-Oct-06 2:48 

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.