Click here to Skip to main content
15,905,875 members
Home / Discussions / C#
   

C#

 
GeneralCreate a toolbar Pin
Sasuko30-May-05 2:16
Sasuko30-May-05 2:16 
GeneralRe: Create a toolbar Pin
MoustafaS30-May-05 3:12
MoustafaS30-May-05 3:12 
GeneralRe: Create a toolbar Pin
Sasuko30-May-05 4:02
Sasuko30-May-05 4:02 
GeneralRe: Create a toolbar Pin
MoustafaS30-May-05 4:05
MoustafaS30-May-05 4:05 
GeneralRe: Create a toolbar Pin
Sasuko30-May-05 4:59
Sasuko30-May-05 4:59 
GeneralRe: Create a toolbar Pin
MoustafaS30-May-05 5:01
MoustafaS30-May-05 5:01 
GeneralRe: Create a toolbar Pin
Anonymous30-May-05 7:07
Anonymous30-May-05 7:07 
GeneralRe: Create a toolbar Pin
Luis Alonso Ramos30-May-05 13:44
Luis Alonso Ramos30-May-05 13:44 
GeneralRe: Create a toolbar Pin
Robert Rohde30-May-05 5:06
Robert Rohde30-May-05 5:06 
GeneralRe: Create a toolbar Pin
Sasuko30-May-05 13:06
Sasuko30-May-05 13:06 
GeneralRe: Create a toolbar Pin
Robert Rohde30-May-05 18:48
Robert Rohde30-May-05 18:48 
Generalprint datagrid Pin
georgeser30-May-05 1:25
georgeser30-May-05 1:25 
QuestionIs this Really a Difficult Question??? Pin
innocent7330-May-05 0:47
innocent7330-May-05 0:47 
AnswerRe: Is this Really a Difficult Question??? Pin
Niklas Ulvinge30-May-05 2:40
Niklas Ulvinge30-May-05 2:40 
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 

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.