Click here to Skip to main content
15,896,432 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is this Really a Difficult Question??? Pin
Robert Rohde30-May-05 3:41
Robert Rohde30-May-05 3:41 
AnswerRe: Is this Really a Difficult Question??? Pin
rudy.net30-May-05 5:57
rudy.net30-May-05 5:57 
GeneralRe: Is this Really a Difficult Question??? Pin
innocent7330-May-05 21:00
innocent7330-May-05 21:00 
GeneralRe: Is this Really a Difficult Question??? Pin
rudy.net31-May-05 3:20
rudy.net31-May-05 3:20 
Generalcopying base class object to derived class object Pin
hasansheik29-May-05 23:47
hasansheik29-May-05 23:47 
GeneralRe: copying base class object to derived class object Pin
S. Senthil Kumar29-May-05 23:55
S. Senthil Kumar29-May-05 23:55 
GeneralRe: copying base class object to derived class object Pin
hasansheik30-May-05 0:04
hasansheik30-May-05 0:04 
GeneralRe: copying base class object to derived class object Pin
S. Senthil Kumar30-May-05 3:37
S. Senthil Kumar30-May-05 3:37 
How you construct MyEditor is up to you. My guess is MyEditor will have additional data members, so you might want to fill them, in addition to Editor members, before returning it. Something like
class MyEditor : Editor
{
   private additionMember;
   public MyEditor(Editor d)
   {
      //Assign base members here
      baseMember1 = d.baseMember1;
   }
   public int AdditionalMember
   {
     // get and set
   }
}

class MyLookUpedit :LookUpedit
{
   public MyEditor Editor
   {
      get
      {
         MyEditor editor = new MyEditor(base.Properties);
         editor.AdditionalMember = 20;
         return editor;
      }
   }
}


Hope this helps.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralWeb Service Exceptions at run time Pin
skrishnasarma29-May-05 22:43
skrishnasarma29-May-05 22:43 
GeneralCompatibilty problem with Excel 2000,Excel 2002 and Excel 2003 Pin
ksanju100029-May-05 20:05
ksanju100029-May-05 20:05 
Generalusb interfacing in C# Pin
ahsan14129-May-05 19:55
ahsan14129-May-05 19:55 
GeneralRe: usb interfacing in C# Pin
FriendlyFiend29-May-05 20:41
FriendlyFiend29-May-05 20:41 
GeneralRe: usb interfacing in C# Pin
eggie529-May-05 20:48
eggie529-May-05 20:48 
GeneralRun tlbimp programatically Pin
Member 1697729-May-05 19:16
Member 1697729-May-05 19:16 
GeneralCall Windows Dial up thr C# Pin
ksanju100029-May-05 19:10
ksanju100029-May-05 19:10 
GeneralAbout TreeNode Pin
Paul Sun29-May-05 16:24
Paul Sun29-May-05 16:24 
GeneralRe: About TreeNode Pin
Paul Sun29-May-05 16:31
Paul Sun29-May-05 16:31 
GeneralRe: About TreeNode Pin
mav.northwind29-May-05 21:30
mav.northwind29-May-05 21:30 
Generalquestion regarding "SerializationInfo" parameter in the serialization function Pin
Green Fuze29-May-05 15:49
Green Fuze29-May-05 15:49 
GeneralDumb plus Pin
Niklas Ulvinge29-May-05 5:46
Niklas Ulvinge29-May-05 5:46 
GeneralRe: Dumb plus Pin
DavidNohejl29-May-05 12:22
DavidNohejl29-May-05 12:22 
GeneralRe: Dumb plus Pin
Niklas Ulvinge30-May-05 2:37
Niklas Ulvinge30-May-05 2:37 
GeneralRe: Dumb plus Pin
S. Senthil Kumar30-May-05 3:47
S. Senthil Kumar30-May-05 3:47 
QuestionCovariant return types? Pin
S. Senthil Kumar29-May-05 4:12
S. Senthil Kumar29-May-05 4:12 
AnswerRe: Covariant return types? Pin
Niklas Ulvinge29-May-05 5:19
Niklas Ulvinge29-May-05 5:19 

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.