Click here to Skip to main content
16,005,339 members
Home / Discussions / C#
   

C#

 
GeneralTo Write optimized code in C# Pin
anushreeb26-Jul-05 17:42
anushreeb26-Jul-05 17:42 
GeneralRe: To Write optimized code in C# Pin
sreejith ss nair26-Jul-05 18:15
sreejith ss nair26-Jul-05 18:15 
GeneralRe: To Write optimized code in C# Pin
leppie26-Jul-05 21:07
leppie26-Jul-05 21:07 
GeneralString problem Pin
rkritzer26-Jul-05 17:20
rkritzer26-Jul-05 17:20 
GeneralDataGrid enable edit on column Pin
ajkumar26-Jul-05 15:39
ajkumar26-Jul-05 15:39 
GeneralRe: DataGrid enable edit on column Pin
Anonymous27-Jul-05 1:52
Anonymous27-Jul-05 1:52 
GeneralCustom Datagrid Help! Header disappears on Post Back! Pin
dgap26-Jul-05 14:56
dgap26-Jul-05 14:56 
GeneralReflection - custom attributes Pin
Luis Alonso Ramos26-Jul-05 13:03
Luis Alonso Ramos26-Jul-05 13:03 
Hello,

On my question below on how to derive from an internal class (see here[^]), I have two possible solutions:

1. To dynamically create a derived class from TabControlDesigner.
2. To use directly TabControlDesigner as the designer for my class.

Since I don't want to modify the TabControlDesigner class, solution 1 would be preferred. However, I'm stuck on trying to create (or change) a custom attribute (DesignerAttribute) for my TabControlEx class. I can get an array of all custom attributes, but only those defined at compile-time.

I have a third solution, which is to implement my own TabControlExDesigner, and privately contain a dynamically created TabControlDesigner and call its methods. But they are around 20.

Is there any way around this?

Or, is there a way I can set the designer class at run time?

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!

GeneralRe: Reflection - custom attributes Pin
[Marc]26-Jul-05 16:01
[Marc]26-Jul-05 16:01 
GeneralRe: Reflection - custom attributes Pin
Luis Alonso Ramos26-Jul-05 18:42
Luis Alonso Ramos26-Jul-05 18:42 
GeneralRe: Reflection - custom attributes Pin
[Marc]27-Jul-05 8:24
[Marc]27-Jul-05 8:24 
GeneralIntercepting focus change between apps Pin
Gmoff26-Jul-05 11:55
Gmoff26-Jul-05 11:55 
GeneralRe: Intercepting focus change between apps Pin
[Marc]26-Jul-05 14:17
[Marc]26-Jul-05 14:17 
GeneralRe: Intercepting focus change between apps Pin
Gmoff26-Jul-05 16:13
Gmoff26-Jul-05 16:13 
GeneralRe: Intercepting focus change between apps Pin
[Marc]27-Jul-05 8:52
[Marc]27-Jul-05 8:52 
GeneralPass value to other form Pin
Newbie_Toy26-Jul-05 10:07
Newbie_Toy26-Jul-05 10:07 
GeneralRe: Pass value to other form Pin
Judah Gabriel Himango26-Jul-05 10:38
sponsorJudah Gabriel Himango26-Jul-05 10:38 
GeneralRe: Pass value to other form Pin
Christian Graus26-Jul-05 12:52
protectorChristian Graus26-Jul-05 12:52 
GeneralJulian Date to Pin
CoolProg26-Jul-05 9:24
CoolProg26-Jul-05 9:24 
GeneralRe: Julian Date to Pin
Guffa26-Jul-05 14:57
Guffa26-Jul-05 14:57 
GeneralDeriving from an internal class Pin
Luis Alonso Ramos26-Jul-05 9:20
Luis Alonso Ramos26-Jul-05 9:20 
GeneralChange font inside a string Pin
WetRivrRat26-Jul-05 8:32
WetRivrRat26-Jul-05 8:32 
GeneralRe: Change font inside a string Pin
Luis Alonso Ramos26-Jul-05 8:36
Luis Alonso Ramos26-Jul-05 8:36 
GeneralRe: Change font inside a string Pin
WetRivrRat26-Jul-05 8:37
WetRivrRat26-Jul-05 8:37 
GeneralRe: Change font inside a string Pin
Dario Solera26-Jul-05 8:38
Dario Solera26-Jul-05 8:38 

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.