HighTechTalks DotNet Forums  

Designer state charts? reliability? help?

Dotnet Framework (WinForms DesignTime) microsoft.public.dotnet.framework.windowsforms.designtime


Discuss Designer state charts? reliability? help? in the Dotnet Framework (WinForms DesignTime) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
WXS
 
Posts: n/a

Default Designer state charts? reliability? help? - 12-09-2004 , 10:07 PM






It seems the designer has states that it gets into, making it hard to check
for components or even determine if you are in design mode. The best
suggestion to check for Design mode I have heard here so far is to use the
License Manager check in the constructor (we noted this does not always work
if you use it later in your code so the best thing to do is use it and set
your own flag right then and there).

It seems depending on when you use GetReferenceService can change the
results of what you get (It calls back into CanExtend)... sometimes it only
will retrieve controls and other times components. Is there some sequence
diagram someone has to show when particular methods are called on the
component in design mode and at what points things are useable?

For example is there a specific time method or event after all properties
are set I can guarantee that GetReference from the GetReference service will
return valid information. I've had times where I had a component I could see
in the form, and when I asked the reference service for the list of that type
of components it returned a zero length array or a null reference if checking
the individual one.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.