Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
GeneralReference to a reference Pin
balkanese15-Dec-03 4:44
balkanese15-Dec-03 4:44 
GeneralRe: Reference to a reference Pin
Colin Angus Mackay15-Dec-03 8:27
Colin Angus Mackay15-Dec-03 8:27 
GeneralRe: Reference to a reference Pin
balkanese15-Dec-03 21:07
balkanese15-Dec-03 21:07 
Generalmissing config file Pin
pallattila15-Dec-03 4:22
pallattila15-Dec-03 4:22 
GeneralRe: missing config file Pin
Heath Stewart15-Dec-03 4:29
protectorHeath Stewart15-Dec-03 4:29 
GeneralRe: missing config file Pin
Uwe Keim15-Dec-03 7:44
sitebuilderUwe Keim15-Dec-03 7:44 
GeneralCustom Panel Control Question. Pin
YetAnotherDeveloper15-Dec-03 3:58
YetAnotherDeveloper15-Dec-03 3:58 
GeneralRe: Custom Panel Control Question. Pin
Heath Stewart15-Dec-03 4:26
protectorHeath Stewart15-Dec-03 4:26 
What do you mean, ...based off the Panel control...? Do you mean you extended it? This should work if you did because the designer usually uses the designers from classes up the class chain. Hmm. If nothing else, use ildasm.exe to find out the what Type the DesignerAttribute of the Panel class uses, and use that same attribute (specifying the same Type, which is probably a string representation, but if not it will use the typeof statement) to attribute your class.

You could also implement your own designer than enables drag and drop - and filter the types of controls that can be added - by reading the docs on the DesignerAttribute and the IDesigner interface, although it's typically easier to start off (i.e., extend) with a root designer class, like the ParentControlDesigner, which has support for controls that contain nested controls (like you want).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralApp monitoring Pin
Callixte.15-Dec-03 3:43
Callixte.15-Dec-03 3:43 
GeneralRe: App monitoring Pin
Nick Parker15-Dec-03 3:49
protectorNick Parker15-Dec-03 3:49 
GeneralRe: App monitoring Pin
Uwe Keim15-Dec-03 7:48
sitebuilderUwe Keim15-Dec-03 7:48 
GeneralFlags Enums Pin
Member 26118815-Dec-03 0:17
Member 26118815-Dec-03 0:17 
GeneralRe: Flags Enums Pin
Heath Stewart15-Dec-03 4:21
protectorHeath Stewart15-Dec-03 4:21 
GeneralRe: Flags Enums Pin
Member 26118815-Dec-03 10:38
Member 26118815-Dec-03 10:38 
GeneralRe: Flags Enums Pin
Eric Gunnerson (msft)15-Dec-03 11:42
Eric Gunnerson (msft)15-Dec-03 11:42 
GeneralRe: Flags Enums Pin
Member 26118815-Dec-03 20:15
Member 26118815-Dec-03 20:15 
GeneralRe: Flags Enums Pin
Eric Gunnerson (msft)16-Dec-03 6:18
Eric Gunnerson (msft)16-Dec-03 6:18 
GeneralHelp me out Pin
Member 76655314-Dec-03 22:25
Member 76655314-Dec-03 22:25 
GeneralRe: Help me out Pin
Colin Angus Mackay14-Dec-03 23:05
Colin Angus Mackay14-Dec-03 23:05 
GeneralLoad C# windows applcation from windows service Pin
JeyKey14-Dec-03 22:08
JeyKey14-Dec-03 22:08 
GeneralRe: Load C# windows applcation from windows service Pin
Rampas Tomas15-Dec-03 0:14
Rampas Tomas15-Dec-03 0:14 
GeneralRe: Load C# windows applcation from windows service Pin
JeyKey15-Dec-03 0:27
JeyKey15-Dec-03 0:27 
GeneralGUI Pin
G_ULJEE14-Dec-03 20:59
G_ULJEE14-Dec-03 20:59 
GeneralGDI+ Graphics.DrawRectangle() Pin
krisp14-Dec-03 20:33
krisp14-Dec-03 20:33 
GeneralRe: Drawing rectangles in GDI+ Pin
Arun Reginald Zaheeruddin14-Dec-03 23:28
Arun Reginald Zaheeruddin14-Dec-03 23:28 

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.