Re: Surprised to see UserControls Executing During Compilation!
- From: "Michael C" <nospam@xxxxxxxxxx>
- Date: Tue, 13 Jun 2006 17:16:22 +1000
"Karl E. Peterson" <karl@xxxxxxxx> wrote in message
news:uSJ87ZnjGHA.3620@xxxxxxxxxxxxxxxxxxxxxxx
Joseph Geretz wrote:
I can tell the difference between design time and run-time, but is
there any way to tell when my control is being compiled, or is
running within a host which is undergoing compilation?
I guess I'd be surprised, as well. What did you see that led you to ask
this question?
This is suprising, vb instantiates usercontrols during compile and executes
readproperties events etc. The solution is to use Ambient.UserMode.
Michael
.
- Follow-Ups:
- Re: Surprised to see UserControls Executing During Compilation!
- From: Karl E. Peterson
- Re: Surprised to see UserControls Executing During Compilation!
- From: Karl E. Peterson
- Re: Surprised to see UserControls Executing During Compilation!
- References:
- Surprised to see UserControls Executing During Compilation!
- From: Joseph Geretz
- Re: Surprised to see UserControls Executing During Compilation!
- From: Karl E. Peterson
- Surprised to see UserControls Executing During Compilation!
- Prev by Date: Re: Surprised to see UserControls Executing During Compilation!
- Next by Date: Format the text in a richtext box in code
- Previous by thread: Re: Surprised to see UserControls Executing During Compilation!
- Next by thread: Re: Surprised to see UserControls Executing During Compilation!
- Index(es):
Relevant Pages
|
Loading