PC Review


Reply
Thread Tools Rate Thread

can a custom control have an image property that can be set in design time from the property browser?

 
 
news.austin.rr.com
Guest
Posts: n/a
 
      2nd Mar 2005
can a custom control have an image property that can be set in design time
from the property browser?

Is this the best way to set an image for a custom control or is their a
better way?



Thanks you.


 
Reply With Quote
 
 
 
 
Tim Wilson
Guest
Posts: n/a
 
      2nd Mar 2005
You should be able to set an Image into a property at design-time. I saw
your other post about profiling and you stated that your catch blocks are
not being hit, however, perhaps exceptions are being thrown and caught
internal to the framework. You might need to dive into reflector to check
that one out though.

--
Tim Wilson
..Net Compact Framework MVP

"news.austin.rr.com" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> can a custom control have an image property that can be set in design time
> from the property browser?
>
> Is this the best way to set an image for a custom control or is their a
> better way?
>
>
>
> Thanks you.
>
>



 
Reply With Quote
 
news.austin.rr.com
Guest
Posts: n/a
 
      3rd Mar 2005
Thanks Tim,

What do you mean by "dive into the reflector" how can i use reflection to
find the problem?

Thanks


"Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> wrote in message
news:(E-Mail Removed)...
> You should be able to set an Image into a property at design-time. I saw
> your other post about profiling and you stated that your catch blocks are
> not being hit, however, perhaps exceptions are being thrown and caught
> internal to the framework. You might need to dive into reflector to check
> that one out though.
>
> --
> Tim Wilson
> .Net Compact Framework MVP
>
> "news.austin.rr.com" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > can a custom control have an image property that can be set in design

time
> > from the property browser?
> >
> > Is this the best way to set an image for a custom control or is their a
> > better way?
> >
> >
> >
> > Thanks you.
> >
> >

>
>



 
Reply With Quote
 
Tim Wilson
Guest
Posts: n/a
 
      3rd Mar 2005
Actually, I meant the tool (http://www.aisto.com/roeder/dotnet/). It's a
disassembler to roll IL back to a high-level language like C#. Of course,
this is for educational purposes only. What you might want to do is look
at what calls are made when the ResourceManager looks up a resource through
its GetObject method versus what calls are made when you extract and load
the resource yourself (presumably through the GetManifestResourceStream
method). There might be a difference in how these two methods, or methods
that are called by these methods, operate internally.

--
Tim Wilson
..Net Compact Framework MVP

"news.austin.rr.com" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks Tim,
>
> What do you mean by "dive into the reflector" how can i use reflection to
> find the problem?
>
> Thanks
>
>
> "Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> wrote in message
> news:(E-Mail Removed)...
> > You should be able to set an Image into a property at design-time. I saw
> > your other post about profiling and you stated that your catch blocks

are
> > not being hit, however, perhaps exceptions are being thrown and caught
> > internal to the framework. You might need to dive into reflector to

check
> > that one out though.
> >
> > --
> > Tim Wilson
> > .Net Compact Framework MVP
> >
> > "news.austin.rr.com" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > can a custom control have an image property that can be set in design

> time
> > > from the property browser?
> > >
> > > Is this the best way to set an image for a custom control or is their

a
> > > better way?
> > >
> > >
> > >
> > > Thanks you.
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom control design time property problem. PT Microsoft C# .NET 1 31st Aug 2006 11:55 AM
Custom Control Design Time Property Selector =?Utf-8?B?Q29jbw==?= Microsoft Dot NET Framework Forms 1 11th May 2006 03:23 PM
Custom Server Control Can't read design time property Shimon Sim Microsoft ASP .NET 7 3rd Aug 2005 02:08 AM
Custom control property fails to persist at design time =?Utf-8?B?SGFyc2hhZCBSYXRob2Q=?= Microsoft Dot NET Framework Forms 1 5th Dec 2004 07:29 PM
Custom Control Design Time Property Options Dave Microsoft C# .NET 1 5th May 2004 03:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:43 PM.