Click here to Skip to main content
15,888,113 members
Home / Discussions / C#
   

C#

 
AnswerRe: ASP.Net code won't run Pin
Simon_Whale16-Jan-19 20:57
Simon_Whale16-Jan-19 20:57 
AnswerRe: ASP.Net code won't run Pin
mtoha16-Jan-19 21:14
professionalmtoha16-Jan-19 21:14 
Rant[REPOST] ASP.Net code won't run Pin
Richard Deeming17-Jan-19 1:42
mveRichard Deeming17-Jan-19 1:42 
AnswerRe: ASP.Net code won't run Pin
Krzysztof Krzysztof19-Jan-19 4:14
Krzysztof Krzysztof19-Jan-19 4:14 
QuestionHow can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
arnold_w16-Jan-19 0:47
arnold_w16-Jan-19 0:47 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Mc_Topaz16-Jan-19 1:16
Mc_Topaz16-Jan-19 1:16 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
arnold_w16-Jan-19 1:31
arnold_w16-Jan-19 1:31 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
OriginalGriff16-Jan-19 2:49
mveOriginalGriff16-Jan-19 2:49 
MessageBox is a Modal form - you know that because you called it that when you wrote the title.
And a modal form prevents anything else going on in the thread until the form has been dismissed, usually by pressing the OK or Cancel buttons.

Because Form1 and SecondaryForm are both running on the same thread (the UI thread, as they have to be) the use of a Modal form in either of them will automatically prevent the other from doing anything.
You can't "get round" that, you will have to write your own MessageBox form which is not modal, and display your messages in that.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Pete O'Hanlon16-Jan-19 2:50
mvePete O'Hanlon16-Jan-19 2:50 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Luc Pattyn16-Jan-19 3:15
sitebuilderLuc Pattyn16-Jan-19 3:15 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
BillWoodruff16-Jan-19 21:43
professionalBillWoodruff16-Jan-19 21:43 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
Luc Pattyn22-Jan-19 7:29
sitebuilderLuc Pattyn22-Jan-19 7:29 
AnswerRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
BillWoodruff16-Jan-19 22:42
professionalBillWoodruff16-Jan-19 22:42 
GeneralRe: How can my "secondary form" still be enabled when a modal MessageBox is shown from the "main form"? Pin
arnold_w23-Jan-19 21:33
arnold_w23-Jan-19 21:33 
QuestionMEF Exception Pin
Kevin Marois15-Jan-19 7:45
professionalKevin Marois15-Jan-19 7:45 
AnswerRe: MEF Exception Pin
Nathan Minier16-Jan-19 1:30
professionalNathan Minier16-Jan-19 1:30 
QuestionAccess Db in DataGridView Pin
User 1367511413-Jan-19 7:27
User 1367511413-Jan-19 7:27 
AnswerRe: Access Db in DataGridView Pin
Dave Kreskowiak13-Jan-19 12:03
mveDave Kreskowiak13-Jan-19 12:03 
GeneralRe: Access Db in DataGridView Pin
User 1367511413-Jan-19 22:24
User 1367511413-Jan-19 22:24 
GeneralRe: Access Db in DataGridView Pin
Dave Kreskowiak14-Jan-19 2:46
mveDave Kreskowiak14-Jan-19 2:46 
AnswerRe: Access Db in DataGridView Pin
OriginalGriff13-Jan-19 22:15
mveOriginalGriff13-Jan-19 22:15 
QuestionFind Subnet Mask Pin
Richard Andrew x6412-Jan-19 8:50
professionalRichard Andrew x6412-Jan-19 8:50 
AnswerRe: Find Subnet Mask Pin
Luc Pattyn12-Jan-19 16:35
sitebuilderLuc Pattyn12-Jan-19 16:35 
GeneralRe: Find Subnet Mask Pin
Richard Andrew x6413-Jan-19 4:22
professionalRichard Andrew x6413-Jan-19 4:22 
Questionimport data Pin
Member 1358870012-Jan-19 3:15
Member 1358870012-Jan-19 3:15 

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.