Click here to Skip to main content
16,017,333 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Project Pin
Wackatronic10-Jun-04 5:00
Wackatronic10-Jun-04 5:00 
GeneralRe: C# Project Pin
jroberson1010-Jun-04 12:40
jroberson1010-Jun-04 12:40 
GeneralRe: C# Project Pin
Wackatronic11-Jun-04 4:27
Wackatronic11-Jun-04 4:27 
GeneralRe: C# Project Pin
Anonymous11-Jun-04 7:07
Anonymous11-Jun-04 7:07 
GeneralRe: C# Project Pin
Wackatronic11-Jun-04 7:21
Wackatronic11-Jun-04 7:21 
GeneralDesigner question Pin
Alex Korchemniy9-Jun-04 15:29
Alex Korchemniy9-Jun-04 15:29 
GeneralFollow up Pin
Alex Korchemniy9-Jun-04 15:46
Alex Korchemniy9-Jun-04 15:46 
GeneralRe: Designer question Pin
Heath Stewart10-Jun-04 3:32
protectorHeath Stewart10-Jun-04 3:32 
On your GetPropertyName and SetPropertyName methods, attribute them with the EditorAttribute, which of course references your implementation of the UITypeEditor class. Read more about this attribute and this class in the .NET Framework SDK. Since you've already started playing with the Component Model, you shouldn't have any problems (and this is a much simpler implementation).

Here's a tip, in your override for EditValue, use the IServiceProvider argument to request the IWindowsFormsEditorService in order to display drop downs and modal dialogs instead of doing it yourself. You can read more about this service interface in the .NET Framework SDK as well. This makes sure that the design-time environment of the IDE supports such actions and uses a thread message queue allocated from the IDE, which is far more stable that trying to create one from your component.

 

Microsoft MVP, Visual C#
My Articles
GeneralCPU usage in % Pin
Member 10432449-Jun-04 15:05
Member 10432449-Jun-04 15:05 
GeneralRe: CPU usage in % Pin
eggie59-Jun-04 18:54
eggie59-Jun-04 18:54 
QuestionCollection as a Trace/Debug Listener? Pin
llyal20009-Jun-04 13:52
llyal20009-Jun-04 13:52 
AnswerRe: Collection as a Trace/Debug Listener? Pin
Heath Stewart10-Jun-04 3:23
protectorHeath Stewart10-Jun-04 3:23 
AnswerRe: Collection as a Trace/Debug Listener? Pin
Heath Stewart10-Jun-04 3:24
protectorHeath Stewart10-Jun-04 3:24 
GeneralRe: Collection as a Trace/Debug Listener? Pin
llyal200010-Jun-04 7:49
llyal200010-Jun-04 7:49 
GeneralRe: Collection as a Trace/Debug Listener? Pin
Heath Stewart10-Jun-04 9:49
protectorHeath Stewart10-Jun-04 9:49 
Generalwatching process and the data they access Pin
tjawed9-Jun-04 13:43
tjawed9-Jun-04 13:43 
GeneralRe: watching process and the data they access Pin
Dave Kreskowiak9-Jun-04 15:42
mveDave Kreskowiak9-Jun-04 15:42 
GeneralRe: watching process and the data they access Pin
tjawed9-Jun-04 18:31
tjawed9-Jun-04 18:31 
GeneralSaving image as JPEG - best possible quality Pin
michalJ9-Jun-04 11:44
michalJ9-Jun-04 11:44 
GeneralRe: Saving image as JPEG - best possible quality Pin
Dave Kreskowiak9-Jun-04 12:07
mveDave Kreskowiak9-Jun-04 12:07 
GeneralRe: Saving image as JPEG - best possible quality Pin
michalJ9-Jun-04 12:13
michalJ9-Jun-04 12:13 
GeneralRe: Saving image as JPEG - best possible quality Pin
Heath Stewart10-Jun-04 3:18
protectorHeath Stewart10-Jun-04 3:18 
GeneralRe: Saving image as JPEG - best possible quality Pin
michalJ11-Jun-04 2:45
michalJ11-Jun-04 2:45 
Generalsockets Pin
surgeproof9-Jun-04 10:30
surgeproof9-Jun-04 10:30 
GeneralRe: sockets Pin
Heath Stewart9-Jun-04 10:48
protectorHeath Stewart9-Jun-04 10:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.