Click here to Skip to main content
15,886,693 members
Home / Discussions / C#
   

C#

 
GeneralRe: e-mail files Pin
Kenneth_i27-Jan-04 2:09
Kenneth_i27-Jan-04 2:09 
GeneralRe: e-mail files Pin
Kenneth_i27-Jan-04 2:07
Kenneth_i27-Jan-04 2:07 
GeneralRe: e-mail files Pin
Kenneth_i27-Jan-04 2:05
Kenneth_i27-Jan-04 2:05 
GeneralRe: e-mail files Pin
Heath Stewart27-Jan-04 4:04
protectorHeath Stewart27-Jan-04 4:04 
GeneralRe: e-mail files Pin
Kenneth_i27-Jan-04 14:08
Kenneth_i27-Jan-04 14:08 
GeneralClass Inheritance Pin
Gareth_Hastings26-Jan-04 22:49
Gareth_Hastings26-Jan-04 22:49 
GeneralRe: Class Inheritance Pin
Dmitriy Kostovetskiy26-Jan-04 23:28
Dmitriy Kostovetskiy26-Jan-04 23:28 
GeneralRe: Class Inheritance Pin
Nick Parker27-Jan-04 7:05
protectorNick Parker27-Jan-04 7: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 22:31
thomasa26-Jan-04 22:31 
GeneralRe: Select node in a TreeView Pin
Heath Stewart27-Jan-04 3:40
protectorHeath Stewart27-Jan-04 3:40 
GeneralRe: Select node in a TreeView Pin
Uwe Keim28-Jan-04 3:09
sitebuilderUwe Keim28-Jan-04 3:09 
GeneralRe: Select node in a TreeView Pin
Heath Stewart28-Jan-04 5:38
protectorHeath Stewart28-Jan-04 5:38 
GeneralRe: Select node in a TreeView Pin
Uwe Keim28-Jan-04 5:46
sitebuilderUwe Keim28-Jan-04 5:46 
QuestionHow to disable a control in MDI form from a child form Pin
okoji Cyril26-Jan-04 20:56
okoji Cyril26-Jan-04 20:56 
AnswerRe: How to disable a control in MDI form from a child form Pin
Heath Stewart27-Jan-04 3:19
protectorHeath Stewart27-Jan-04 3:19 
GeneralC# and Scintilla Pin
yarns26-Jan-04 20:45
yarns26-Jan-04 20:45 
GeneralRe: C# and Scintilla Pin
Uwe Keim28-Jan-04 3:06
sitebuilderUwe Keim28-Jan-04 3:06 
GeneralRe: C# and Scintilla Pin
wonea25-Feb-10 1:49
wonea25-Feb-10 1:49 
QuestionReal-world commercial .NET Applications? Any? Pin
Uwe Keim26-Jan-04 18:13
sitebuilderUwe Keim26-Jan-04 18:13 
AnswerRe: Real-world commercial .NET Applications? Any? Pin
Mazdak26-Jan-04 19:27
Mazdak26-Jan-04 19:27 
GeneralRe: Real-world commercial .NET Applications? Any? Pin
Uwe Keim26-Jan-04 22:12
sitebuilderUwe Keim26-Jan-04 22:12 
AnswerRe: Real-world commercial .NET Applications? Any? Pin
Heath Stewart27-Jan-04 3:11
protectorHeath Stewart27-Jan-04 3:11 
GeneralRe: Real-world commercial .NET Applications? Any? Pin
Uwe Keim27-Jan-04 3:19
sitebuilderUwe Keim27-Jan-04 3:19 
GeneralRe: Real-world commercial .NET Applications? Any? Pin
Nick Parker27-Jan-04 6:49
protectorNick Parker27-Jan-04 6:49 
AnswerRe: Real-world commercial .NET Applications? Any? Pin
John Fisher27-Jan-04 7:08
John Fisher27-Jan-04 7: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.