Re: One ImageList, Multiple Forms (DESIGN TIME)



I haven't tried it, but you may try to create a base form including the
image list and derive all of your forms using the image list from it. In
theory it should work at design time as well as at run time.

Michael

"Lee Grissom" <lee dot grissom at quest dot com> schrieb im Newsbeitrag
news:eUv0AKE$FHA.1288@xxxxxxxxxxxxxxxxxxxxxxx
> Since MS decided to seal the ImageList class, I can't work around this
> problem very easily. What's the best technique for having an ImageList
> shared amongst many forms in my project? I want it to work at Design time
> as well as run time.
> --
> Lee
>


.



Relevant Pages

  • One ImageList, Multiple Forms (DESIGN TIME)
    ... Since MS decided to seal the ImageList class, ... What's the best technique for having an ImageList ... shared amongst many forms in my project? ... I want it to work at Design time ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Designer doesnt update the window/form region based on subclassing
    ... Build the project and re-open Form2 in the designer. ... the base form is called and then the Load event handler. ... matter at design time or run time, as long as the size of the derived form ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Forms Inheritance and its baggage!
    ... operation for comboBoxes are not compatible. ... runtime attributes need to be forced-in at the design time. ... Controls, including Forms. ... Firstly one has to presume that some controls on the base Form will be ...
    (microsoft.public.vsnet.general)
  • Skip some code in Design Time.
    ... I want to prevent some code to run in design time. ... I have a base form that have some code in its Load event. ... As far as I know below code can prevent code to run in debug mode. ...
    (microsoft.public.dotnet.framework)
  • Form Load Event In Design Time
    ... but when i open an inherited form in the design time ... the form load event of the base form is executed ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)