Fernando, that is the most obscure .NET development trick I've ever
seen. You are either a genius, or a madman.
-S
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
No problem, Steve. Happy to do that next time onwards.
From: [EMAIL PROTECTED] on behalf of Steve Johnson
Sent: Thu 1/27/2005 9:24 AM
To: Unmoderated discussion of advanced .NET topics.
Subject: Re: [ADVANCED-DOTNET] Copying and pasting Excel data via Clipboard
You call the ComponentModel things primarily as an IDE author, to give the
author of a component (or control) ways to enhance its design-time (as well as
run-time) behavior. If you are a component or control author, you implement
the ComponentModel things so that any code that works with yours
That worked perfectly.
Thank you.
On Fri, 28 Jan 2005 14:49:15 -0700, Russ Alan <[EMAIL PROTECTED]> wrote:
>Probably overkill for what you need, but this is a general reflection
driven
>event binding code.
>
>Object source = GetEventSourceObject();
>String eventName = GetNameOfEventOnSource();
>
Probably overkill for what you need, but this is a general reflection driven
event binding code.
Object source = GetEventSourceObject();
String eventName = GetNameOfEventOnSource();
Object target = GetObjectToHandleEvent();
String handlerName = GetNameOfMethodToHandleEvent();
Type sourceType = so
Actually, it is possible during the build process to use a custom attribute
to embed a build timestamp, or other metadata for that matter. The only
requirement is that it has to be a custom permission attribute, which do get
instantiated during compilation time. Granted, this is a very obscure
solu
Hello,
I'm trying to create an application that can allow users to extend the
menu by supplying the event handlers in their own libraries. My first
thought was to use reflection to specify the event handler, something like
this...
// The user's assembly has already been loaded and we have create
So what's the point of using PropertyDescriptors and the
PropertyDescriptorCollection?
Why not use PropertyInfo and the GetProperties() method of a type?
See the first code snippet in ...
http://msdn.microsoft.com/smartclient/default.aspx?pull=/library/en-us/dnwin
forms/html/datagridcolumnstyle1
System.ComponentModel is not related, at all, to Reflection. You cannot use
its methods to do the things that Reflection does. ComponentModel is (quoting
from URL below) "to implement the run-time and design-time behavior of
components and controls." It's not for finding out about (and possib
Since discovering the power of reflection in .NET, I've been able to realize
significant benefits.
My helper class for Reflection contains methods that use Assemblies,
System.Type, EventInfo, PropertyInfo, etc. Most of these types are located
in the System.Reflection namespace.
Everything works f
10 matches
Mail list logo