Click here to Skip to main content
15,891,774 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralMore Information Pin
ursus zeta6-Mar-05 12:18
ursus zeta6-Mar-05 12:18 
GeneralMessageBox.Show() ?! Pin
truonghongquan2-Mar-05 19:26
truonghongquan2-Mar-05 19:26 
GeneralRe: MessageBox.Show() ?! Pin
Anonymous4-Mar-05 7:05
Anonymous4-Mar-05 7:05 
GeneralRe: MessageBox.Show() ?! Pin
truonghongquan6-Mar-05 14:51
truonghongquan6-Mar-05 14:51 
GeneralFTP Programming with .Net framework 1.1 Pin
Member 5641432-Mar-05 8:53
Member 5641432-Mar-05 8:53 
GeneralRe: FTP Programming with .Net framework 1.1 Pin
TylerBrinks2-Mar-05 12:10
TylerBrinks2-Mar-05 12:10 
GeneralModifying Design time behavior Pin
Teflon2-Mar-05 0:50
Teflon2-Mar-05 0:50 
GeneralRe: Modifying Design time behavior Pin
Mathew Hall3-Mar-05 21:01
Mathew Hall3-Mar-05 21:01 
How can I detect that my code is executed in the designer oposed to normal execution?

You can use the components DesignMode property (MSDN link[^])

public MyForm()<br />
{<br />
...<br />
<br />
// don't execute this stuff at design time <br />
// cause we'll crash and burn<br />
if (!this.DesignMode)<br />
{<br />
...<br />
}<br />
}


"I think I speak on behalf of everyone here when I say huh?" - Buffy
GeneralRe: Modifying Design time behavior Pin
Teflon_004534-Mar-05 6:57
sussTeflon_004534-Mar-05 6:57 
GeneralBmp to Png Conversion Pin
tosun1-Mar-05 14:35
tosun1-Mar-05 14:35 
General.Net Macros Pin
jGuild1-Mar-05 10:54
jGuild1-Mar-05 10:54 
General.NET Framework Book Pin
PaulCurry1-Mar-05 8:37
PaulCurry1-Mar-05 8:37 
GeneralRe: .NET Framework Book Pin
carlop()2-Mar-05 5:53
carlop()2-Mar-05 5:53 
GeneralList Of Domains Pin
Iftach Smith1-Mar-05 2:53
Iftach Smith1-Mar-05 2:53 
Questionis setting an object reference atomic? Pin
Member 168528-Feb-05 21:51
Member 168528-Feb-05 21:51 
AnswerRe: is setting an object reference atomic? Pin
S. Senthil Kumar1-Mar-05 9:13
S. Senthil Kumar1-Mar-05 9:13 
GeneralRe: is setting an object reference atomic? Pin
Member 16851-Mar-05 9:49
Member 16851-Mar-05 9:49 
GeneralRe: is setting an object reference atomic? Pin
S. Senthil Kumar1-Mar-05 16:01
S. Senthil Kumar1-Mar-05 16:01 
GeneralWindows Forms ListBox &quot;GetItemValue&quot; method Pin
dxlee28-Feb-05 8:48
dxlee28-Feb-05 8:48 
GeneralMDI Window Pin
Small Rat28-Feb-05 4:46
Small Rat28-Feb-05 4:46 
GeneralInstaller don`t remove assemblies Pin
Adnan Siddiqi28-Feb-05 0:22
Adnan Siddiqi28-Feb-05 0:22 
GeneralProblem rendering bitmaps with .NET CF Pin
Georg Fuchs27-Feb-05 23:07
Georg Fuchs27-Feb-05 23:07 
QuestionRun .Net on Win95? Pin
P-TAE27-Feb-05 19:02
P-TAE27-Feb-05 19:02 
AnswerRe: Run .Net on Win95? Pin
Colin Angus Mackay27-Feb-05 19:40
Colin Angus Mackay27-Feb-05 19:40 
GeneralWindows Hooks Pin
Member 176527127-Feb-05 13:39
Member 176527127-Feb-05 13:39 

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.