Re: Stuck on infinite loop
From: cody (deutronium_at_gmx.de)
Date: 02/24/05
- Next message: Dakkar: "Re: Compiling for international .net framework versions"
- Previous message: Dmitriy Lapshin [C# / .NET MVP]: "Re: Help me!!!"
- In reply to: Rene: "Stuck on infinite loop"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Feb 2005 12:52:11 +0100
post your code then we'll see.
a possible reason could be that you called Refresh() or this.OnPaint() in
the OnPaint method.
"Rene" <nospam@nospam.com> schrieb im Newsbeitrag
news:#Pms1GiGFHA.588@TK2MSFTNGP14.phx.gbl...
> I got stuck on an infinite loop on the "Paint" event of my custom control
> and I was not able to "ctrl-break" my way out of it.
>
> After trying everything, I had to ctrs-alt-delete to shut down the
> application and delete the bin and obj folders of the control so that the
> application could start without locking.
>
> I don't understand? I am pretty sure I was able to press ctrl-break before
> and it would stop on the offending line. Could this be a problem with the
> Paint event? I was also not able to set break points on that event (paint)
> because they are ignored.
>
> Has anybody had similar problems? Thanks.
>
>
- Next message: Dakkar: "Re: Compiling for international .net framework versions"
- Previous message: Dmitriy Lapshin [C# / .NET MVP]: "Re: Help me!!!"
- In reply to: Rene: "Stuck on infinite loop"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|