Using
<System.ComponentModel.TypeConverter(GetType(System.ComponentModel.ExpandableObjectConverter))> _
on the declaration of a class (which is a property of another class) that consists of a number properties.
I load an instance of this class with simply ...
PropertyGrid1.SelectedObject = oColumn
Obviously I don't want to manuall...
I can't find any idea of the way to use this attribute?
...
I'm trying to allow my business logic components to query for services when they are added to one of my form/control classes. For example, I might have a ClientManager class in my library, which encapsulates some business logic. It requires an ILoginManager instance to query for some data that it needs to operate.
The concrete ILoginMan...
Hi,
I'm using .NET C# with standard WinForms, not WPF.
I have this situation.
I'm creating a user control for a month calendar, similar to the .NET one but with a little more functionality.
I have a user control form, that fills with button objects representing dates.
The buttons can be colored with different color depending on their st...
Is it possible to serialize (binary) a System.ComponentModel.Container?
...
First of all, I have to say that I'm going to talk about System.ComponentModel.Component.
You know, I understand, that the .NET Component Model provides ability (through Site Services) to define separate Components, so they can communicate with each other in a loosely coupled way, and that each Component is easily replaceable.
But my ...
What is the difference between IEditableObject and IRevertibleChangeTracking (both from the System.ComponentModel namespace)? It looks as if the first supports explicit transaction whilst the second is more implicit - but the net result is the same. How should I go about implementing this in code? At the moment I do nothing in BeginEd...