Click here to Skip to main content
15,926,959 members
Home / Discussions / C#
   

C#

 
GeneralInheriting User Controls Pin
Brett Slaski9-Aug-04 6:41
Brett Slaski9-Aug-04 6:41 
GeneralRe: Inheriting User Controls Pin
Syed Abdul Khader9-Aug-04 6:51
Syed Abdul Khader9-Aug-04 6:51 
GeneralRe: Inheriting User Controls Pin
Brett Slaski9-Aug-04 7:48
Brett Slaski9-Aug-04 7:48 
GeneralRe: Inheriting User Controls Pin
Charlie Williams9-Aug-04 8:04
Charlie Williams9-Aug-04 8:04 
Generaldynamic casting Pin
matt cole9-Aug-04 3:42
matt cole9-Aug-04 3:42 
GeneralRe: dynamic casting Pin
leppie9-Aug-04 5:21
leppie9-Aug-04 5:21 
GeneralRe: dynamic casting Pin
Mardawi9-Aug-04 8:49
Mardawi9-Aug-04 8:49 
GeneralRe: dynamic casting Pin
Heath Stewart9-Aug-04 18:10
protectorHeath Stewart9-Aug-04 18:10 
Not possible. Because of the Common Type System (CTS) - part of the .NET Framework - the type must be known at compile time or the necessary IL instructions cannot be emitted as part of the module that gets embedded into the primary assembly. The best alternative is to develop a base class from which all of your loaded types (common, especially in plug-in style applications) and cast to that base class, relying on polymorphism to define your distinct types' functionality (that derive from that base class, of course).

 

Microsoft MVP, Visual C#
My Articles
Generaltrapping events in downlaod dialog box in asp.net with c# Pin
ashu_sharma219-Aug-04 3:40
ashu_sharma219-Aug-04 3:40 
GeneralRe: trapping events in downlaod dialog box in asp.net with c# Pin
exhaulted9-Aug-04 4:33
exhaulted9-Aug-04 4:33 
GeneralRe: trapping events in downlaod dialog box in asp.net with c# Pin
ashu_sharma219-Aug-04 18:05
ashu_sharma219-Aug-04 18:05 
GeneralSystem Informtion Pin
Member 12302189-Aug-04 2:39
Member 12302189-Aug-04 2:39 
GeneralRe: System Informtion Pin
leppie9-Aug-04 3:26
leppie9-Aug-04 3:26 
GeneralRe: System Informtion Pin
Nick Parker9-Aug-04 3:32
protectorNick Parker9-Aug-04 3:32 
GeneralRe: System Informtion Pin
Stefan Troschuetz9-Aug-04 5:30
Stefan Troschuetz9-Aug-04 5:30 
GeneralCsharp , MySQLDriverCS + dataGrid Pin
Nekosan9-Aug-04 2:28
Nekosan9-Aug-04 2:28 
GeneralRe: Csharp , MySQLDriverCS + dataGrid Pin
exhaulted9-Aug-04 3:34
exhaulted9-Aug-04 3:34 
GeneralRe: Csharp , MySQLDriverCS + dataGrid Pin
Nekosan9-Aug-04 3:57
Nekosan9-Aug-04 3:57 
GeneralRe: Csharp , MySQLDriverCS + dataGrid Pin
exhaulted9-Aug-04 4:22
exhaulted9-Aug-04 4:22 
GeneralRe: Csharp , MySQLDriverCS + dataGrid Pin
Nekosan9-Aug-04 4:34
Nekosan9-Aug-04 4:34 
GeneralRe: Csharp , MySQLDriverCS + dataGrid Pin
exhaulted9-Aug-04 4:57
exhaulted9-Aug-04 4:57 
GeneralRe: Csharp , MySQLDriverCS + dataGrid Pin
Nekosan9-Aug-04 5:29
Nekosan9-Aug-04 5:29 
GeneralRe: Csharp , MySQLDriverCS + dataGrid Pin
exhaulted9-Aug-04 22:25
exhaulted9-Aug-04 22:25 
GeneralRe: Csharp , MySQLDriverCS + dataGrid Pin
Nekosan10-Aug-04 9:29
Nekosan10-Aug-04 9:29 
GeneralRe: Csharp , MySQLDriverCS + dataGrid Pin
exhaulted10-Aug-04 21:35
exhaulted10-Aug-04 21:35 

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.