Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: inherited Panel-Control for RadioButtons only [modified] Pin
Ravi Bhavnani21-May-06 5:36
professionalRavi Bhavnani21-May-06 5:36 
GeneralRe: inherited Panel-Control for RadioButtons only [modified] Pin
Subfreq21-May-06 5:42
Subfreq21-May-06 5:42 
GeneralRe: inherited Panel-Control for RadioButtons only [modified] Pin
Ravi Bhavnani21-May-06 5:48
professionalRavi Bhavnani21-May-06 5:48 
GeneralRe: inherited Panel-Control for RadioButtons only [modified] Pin
Subfreq21-May-06 5:53
Subfreq21-May-06 5:53 
QuestionCasting and template like things Pin
seikou20-May-06 23:19
seikou20-May-06 23:19 
AnswerRe: Casting and template like things [modified] Pin
User 665821-May-06 1:45
User 665821-May-06 1:45 
QuestionRe: Casting and template like things [modified] Pin
seikou21-May-06 2:16
seikou21-May-06 2:16 
AnswerRe: Casting and template like things [modified] Pin
Guffa21-May-06 5:50
Guffa21-May-06 5:50 
seikou wrote:
Thanks, but the point is I can not tell the types beforehand, so I'd like to make it work for any type that has the appropriate methods, operators, etc.


That sounds like a job for an interface. If you specify an interface containing the methods and make the classes implement the interface, you can handle any object from those classes using the interface as data type, regardless of which actual data type they are.


---
b { font-weight: normal; }

GeneralRe: Casting and template like things [modified] Pin
User 665821-May-06 7:17
User 665821-May-06 7:17 
QuestionGlobal KeyboardHooks and WiondowsKeyboardHooks Pin
nemopeti20-May-06 22:40
nemopeti20-May-06 22:40 
AnswerRe: Global KeyboardHooks and WiondowsKeyboardHooks Pin
ahmad2x421-May-06 3:06
ahmad2x421-May-06 3:06 
GeneralRe: Global KeyboardHooks and WiondowsKeyboardHooks [modified] Pin
nemopeti21-May-06 3:39
nemopeti21-May-06 3:39 
QuestionApplicationContext and Windows Shutdown Pin
redfish3420-May-06 18:17
redfish3420-May-06 18:17 
AnswerRe: ApplicationContext and Windows Shutdown Pin
leppie21-May-06 20:21
leppie21-May-06 20:21 
QuestionStack's & Queue's Pin
BiGjOe.NeT20-May-06 13:13
BiGjOe.NeT20-May-06 13:13 
AnswerRe: Stack's & Queue's Pin
Christian Graus20-May-06 13:41
protectorChristian Graus20-May-06 13:41 
GeneralRe: Stack's & Queue's Pin
BiGjOe.NeT20-May-06 13:47
BiGjOe.NeT20-May-06 13:47 
GeneralRe: Stack's & Queue's Pin
Christian Graus20-May-06 13:53
protectorChristian Graus20-May-06 13:53 
GeneralRe: Stack's & Queue's Pin
BiGjOe.NeT20-May-06 14:01
BiGjOe.NeT20-May-06 14:01 
GeneralRe: Stack's & Queue's Pin
Christian Graus20-May-06 14:26
protectorChristian Graus20-May-06 14:26 
AnswerRe: Stack's & Queue's Pin
Osama E. Adly21-May-06 0:03
Osama E. Adly21-May-06 0:03 
GeneralRe: Stack's & Queue's Pin
BiGjOe.NeT21-May-06 16:43
BiGjOe.NeT21-May-06 16:43 
QuestionUsing DirectSound from a console [modified] Pin
obelisk2920-May-06 13:09
obelisk2920-May-06 13:09 
QuestionDon't call SetValue Pin
Dima Filipiuk20-May-06 11:42
Dima Filipiuk20-May-06 11:42 
QuestionIdiotic Notepad/C#/Command Prompt Questions Pin
...---...20-May-06 11:13
...---...20-May-06 11:13 

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.