Kim Miers wrote:
>
> I'm calling the resize event of a form in its' init event.
>
> I'd like the resize event to know that the init is calling it rather than being user generated.
>
> Is there a way to pass messages (parameters?) from one event to another?
>
> thanks, kim
I can't test right now, but I believe you can not modify the
parameters list of a method. May be you can derivate a class
and may be you can modify the list for it.
You can also add a new property ProgramaticResize to the form.
Make it true before you issue the Resize methode and false
inside the Resize methode
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement