Click here to Skip to main content
15,510,678 members
Home / Discussions / C#
   

C#

 
GeneralRe: e-mail files Pin
Kenneth_i27-Jan-04 3:09
Kenneth_i27-Jan-04 3:09 
GeneralRe: e-mail files Pin
Kenneth_i27-Jan-04 3:07
Kenneth_i27-Jan-04 3:07 
GeneralRe: e-mail files Pin
Kenneth_i27-Jan-04 3:05
Kenneth_i27-Jan-04 3:05 
GeneralRe: e-mail files Pin
Heath Stewart27-Jan-04 5:04
protectorHeath Stewart27-Jan-04 5:04 
GeneralRe: e-mail files Pin
Kenneth_i27-Jan-04 15:08
Kenneth_i27-Jan-04 15:08 
GeneralClass Inheritance Pin
Gareth_Hastings26-Jan-04 23:49
Gareth_Hastings26-Jan-04 23:49 
GeneralRe: Class Inheritance Pin
Dmitriy Kostovetskiy27-Jan-04 0:28
Dmitriy Kostovetskiy27-Jan-04 0:28 
GeneralRe: Class Inheritance Pin
Nick Parker27-Jan-04 8:05
protectorNick Parker27-Jan-04 8:05 
If you are looking for the syntax of classes for C#, the following is a simple example:

public class TrafficLight
{
    // constructor
    TrafficLight(){}
  
    // private variable
    private Color _color; 
 
    // public property
    public Color LightColor
    {
       get{return _color;}
       set{_color = value;}
    }

    public virtual void ChangeColor(Color newColor)
    {
        LightColor = newColor;
    }
}

public class DeluxeLight : TrafficLight
{
    // constructor
    DeluxeLight(){}

    public overrides void ChangeColor(Color myColor)
    {
       //.... overriding the base class method
    }
}


- Nick Parker
  My Blog

GeneralSelect node in a TreeView Pin
thomasa26-Jan-04 23:31
thomasa26-Jan-04 23:31 
GeneralRe: Select node in a TreeView Pin
Heath Stewart27-Jan-04 4:40
protectorHeath Stewart27-Jan-04 4:40 
GeneralRe: Select node in a TreeView Pin
Uwe Keim28-Jan-04 4:09
sitebuilderUwe Keim28-Jan-04 4:09 
GeneralRe: Select node in a TreeView Pin
Heath Stewart28-Jan-04 6:38
protectorHeath Stewart28-Jan-04 6:38 
GeneralRe: Select node in a TreeView Pin
Uwe Keim28-Jan-04 6:46
sitebuilderUwe Keim28-Jan-04 6:46 
QuestionHow to disable a control in MDI form from a child form Pin
okoji Cyril26-Jan-04 21:56
okoji Cyril26-Jan-04 21:56 
AnswerRe: How to disable a control in MDI form from a child form Pin
Heath Stewart27-Jan-04 4:19
protectorHeath Stewart27-Jan-04 4:19 
GeneralC# and Scintilla Pin
yarns26-Jan-04 21:45
yarns26-Jan-04 21:45 
GeneralRe: C# and Scintilla Pin
Uwe Keim28-Jan-04 4:06
sitebuilderUwe Keim28-Jan-04 4:06 
GeneralRe: C# and Scintilla Pin
wonea25-Feb-10 2:49
wonea25-Feb-10 2:49 
QuestionReal-world commercial .NET Applications? Any? Pin
Uwe Keim26-Jan-04 19:13
sitebuilderUwe Keim26-Jan-04 19:13 
AnswerRe: Real-world commercial .NET Applications? Any? Pin
Mazdak26-Jan-04 20:27
Mazdak26-Jan-04 20:27 
GeneralRe: Real-world commercial .NET Applications? Any? Pin
Uwe Keim26-Jan-04 23:12
sitebuilderUwe Keim26-Jan-04 23:12 
AnswerRe: Real-world commercial .NET Applications? Any? Pin
Heath Stewart27-Jan-04 4:11
protectorHeath Stewart27-Jan-04 4:11 
GeneralRe: Real-world commercial .NET Applications? Any? Pin
Uwe Keim27-Jan-04 4:19
sitebuilderUwe Keim27-Jan-04 4:19 
GeneralRe: Real-world commercial .NET Applications? Any? Pin
Nick Parker27-Jan-04 7:49
protectorNick Parker27-Jan-04 7:49 
AnswerRe: Real-world commercial .NET Applications? Any? Pin
John Fisher27-Jan-04 8:08
John Fisher27-Jan-04 8:08 

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.