Click here to Skip to main content
15,923,789 members
Home / Discussions / C#
   

C#

 
GeneralRe: Switching on type Pin
creatiive1-Dec-10 2:34
creatiive1-Dec-10 2:34 
Thank you all for your replies!

This is what I need in this case;

"If this is the case the your absract class can identify a common function such as MyMethod. Then each of your inheriting class types can implement this function in its own way."

I knew something was wrong with it but didn't quite know how to alter it. This works much better and each object can just have its own implementation of the method. My design skills are a bit poor at the moment Smile | :)

Thanks!
GeneralRe: Switching on type Pin
musefan1-Dec-10 2:55
musefan1-Dec-10 2:55 
AnswerRe: Switching on type Pin
Keith Barrow1-Dec-10 1:18
professionalKeith Barrow1-Dec-10 1:18 
GeneralRe: Switching on type Pin
musefan1-Dec-10 1:24
musefan1-Dec-10 1:24 
GeneralRe: Switching on type Pin
Keith Barrow1-Dec-10 1:52
professionalKeith Barrow1-Dec-10 1:52 
GeneralRe: Switching on type Pin
PIEBALDconsult1-Dec-10 2:26
mvePIEBALDconsult1-Dec-10 2:26 
GeneralRe: Switching on type Pin
Pete O'Hanlon1-Dec-10 2:57
mvePete O'Hanlon1-Dec-10 2:57 
AnswerRe: Switching on type Pin
PIEBALDconsult1-Dec-10 2:28
mvePIEBALDconsult1-Dec-10 2:28 
QuestionCall XP Mode shortcut programmatically [modified] Pin
spif200130-Nov-10 20:36
spif200130-Nov-10 20:36 
AnswerRe: Call XP Mode shortcut programmatically Pin
Rajesh Anuhya30-Nov-10 22:27
professionalRajesh Anuhya30-Nov-10 22:27 
GeneralRe: Call XP Mode shortcut programmatically Pin
spif200130-Nov-10 22:35
spif200130-Nov-10 22:35 
AnswerRe: Call XP Mode shortcut programmatically Pin
Eddy Vluggen1-Dec-10 1:23
professionalEddy Vluggen1-Dec-10 1:23 
GeneralRe: Call XP Mode shortcut programmatically Pin
spif20011-Dec-10 1:52
spif20011-Dec-10 1:52 
GeneralRe: Call XP Mode shortcut programmatically Pin
Eddy Vluggen1-Dec-10 2:32
professionalEddy Vluggen1-Dec-10 2:32 
QuestionMultiple query results on one form. Pin
Joe Stansfield30-Nov-10 18:36
Joe Stansfield30-Nov-10 18:36 
AnswerRe: Multiple query results on one form. Pin
Pete O'Hanlon30-Nov-10 22:23
mvePete O'Hanlon30-Nov-10 22:23 
GeneralRe: Multiple query results on one form. Pin
Joe Stansfield1-Dec-10 11:29
Joe Stansfield1-Dec-10 11:29 
Questionin microsoft report viewer i want change datasource in run time Pin
Nabawoka30-Nov-10 10:18
Nabawoka30-Nov-10 10:18 
AnswerRe: in microsoft report viewer i want change datasource in run time Pin
Pete O'Hanlon30-Nov-10 11:32
mvePete O'Hanlon30-Nov-10 11:32 
GeneralRe: in microsoft report viewer i want change datasource in run time Pin
Nabawoka30-Nov-10 19:24
Nabawoka30-Nov-10 19:24 
AnswerI Get it :D:D ;) Pin
Nabawoka30-Nov-10 22:12
Nabawoka30-Nov-10 22:12 
GeneralRe: I Get it :D:D ;) Pin
Pete O'Hanlon30-Nov-10 22:24
mvePete O'Hanlon30-Nov-10 22:24 
Questionerror while backup DB from C# "Backup failed for Server" [modified] Pin
Nabawoka30-Nov-10 9:53
Nabawoka30-Nov-10 9:53 
AnswerRe: error while backup DB from C# "Backup failed for Server" Pin
Henry Minute30-Nov-10 13:36
Henry Minute30-Nov-10 13:36 
QuestionHow to block shutdown/logoff in Windows Vista? Pin
turbosupramk330-Nov-10 9:43
turbosupramk330-Nov-10 9:43 

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.