Click here to Skip to main content
15,917,481 members
Home / Discussions / C#
   

C#

 
QuestionModal Dialogs Pin
Skippums12-Oct-07 5:05
Skippums12-Oct-07 5:05 
AnswerRe: Modal Dialogs Pin
TJoe12-Oct-07 6:13
TJoe12-Oct-07 6:13 
GeneralRe: Modal Dialogs Pin
Skippums12-Oct-07 6:27
Skippums12-Oct-07 6:27 
GeneralRe: Modal Dialogs [modified] Pin
Fayu12-Oct-07 7:22
Fayu12-Oct-07 7:22 
QuestionRe: Modal Dialogs Pin
Skippums12-Oct-07 7:02
Skippums12-Oct-07 7:02 
AnswerRe: Modal Dialogs Pin
Luc Pattyn12-Oct-07 7:20
sitebuilderLuc Pattyn12-Oct-07 7:20 
GeneralRe: Modal Dialogs Pin
Skippums12-Oct-07 7:59
Skippums12-Oct-07 7:59 
AnswerRe: Modal Dialogs Pin
Luc Pattyn12-Oct-07 7:53
sitebuilderLuc Pattyn12-Oct-07 7:53 
One more thing, you don't need as many delegates as MessageBox.Show() has overloads.
Within your MessageBoxExtended class you could map most of them onto the most powerful one,
then let that one perform the InvokeRequired/Invoke stuff.

And you could shortcircuit that for the most popular overload(s) adding some delegates and
code again to improve performance, although this is probably irrelevant since MessageBoxes
typically block your thread anyway until the user decides to close them.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


QuestionBase data Pin
RussBus12-Oct-07 4:51
RussBus12-Oct-07 4:51 
AnswerRe: Base data Pin
led mike12-Oct-07 4:57
led mike12-Oct-07 4:57 
GeneralRe: Base data Pin
RussBus12-Oct-07 5:02
RussBus12-Oct-07 5:02 
AnswerRe: Base data Pin
Skippums12-Oct-07 5:21
Skippums12-Oct-07 5:21 
GeneralRe: Base data Pin
RussBus12-Oct-07 5:43
RussBus12-Oct-07 5:43 
GeneralRe: Base data Pin
RussBus12-Oct-07 5:57
RussBus12-Oct-07 5:57 
GeneralRe: Base data Pin
Skippums12-Oct-07 5:58
Skippums12-Oct-07 5:58 
QuestionHow to count imgae files in a folder Pin
Member 46302412-Oct-07 4:50
Member 46302412-Oct-07 4:50 
AnswerRe: How to count imgae files in a folder Pin
led mike12-Oct-07 4:54
led mike12-Oct-07 4:54 
AnswerRe: How to count imgae files in a folder Pin
Jacky Yiu12-Oct-07 5:01
Jacky Yiu12-Oct-07 5:01 
GeneralRe: How to count imgae files in a folder Pin
Member 46302412-Oct-07 5:31
Member 46302412-Oct-07 5:31 
GeneralRe: How to count imgae files in a folder Pin
Jacky Yiu13-Oct-07 1:15
Jacky Yiu13-Oct-07 1:15 
GeneralRe: How to count imgae files in a folder Pin
Member 46302413-Oct-07 10:34
Member 46302413-Oct-07 10:34 
AnswerRe: How to count imgae files in a folder Pin
Anthony Mushrow12-Oct-07 5:02
professionalAnthony Mushrow12-Oct-07 5:02 
GeneralRe: How to count imgae files in a folder Pin
Member 46302412-Oct-07 5:30
Member 46302412-Oct-07 5:30 
QuestionHelp ! Help ! Display image to DataList ? Pin
whale8412-Oct-07 4:31
whale8412-Oct-07 4:31 
AnswerRe: Help ! Help ! Display image to DataList ? Pin
Skippums12-Oct-07 5:35
Skippums12-Oct-07 5: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.