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

C#

 
AnswerRe: Creating toolbox in C# Pin
edvo25-Oct-05 0:42
edvo25-Oct-05 0:42 
QuestionData posting Pin
NET_GEEK24-Oct-05 18:21
NET_GEEK24-Oct-05 18:21 
QuestionServer.Create(<Object>) Pin
NET_GEEK24-Oct-05 18:16
NET_GEEK24-Oct-05 18:16 
AnswerRe: Server.Create(<Object>) Pin
Christian Graus24-Oct-05 18:51
protectorChristian Graus24-Oct-05 18:51 
QuestionClass Stucture Question Pin
jgallen2324-Oct-05 14:49
jgallen2324-Oct-05 14:49 
AnswerRe: Class Stucture Question Pin
Christian Graus24-Oct-05 15:26
protectorChristian Graus24-Oct-05 15:26 
GeneralRe: Class Stucture Question Pin
jgallen2324-Oct-05 15:35
jgallen2324-Oct-05 15:35 
GeneralRe: Class Stucture Question Pin
Christian Graus24-Oct-05 15:39
protectorChristian Graus24-Oct-05 15:39 
OK - so there's no reason in the world to create a class heirarchy. All you need to do is create a class ( or a struct, more like it ), that contains a reference to itself as a parent and a collection of items that represents it's children ( so you can iterate in either direction ).

So you need one class, like this

class myClass
{
private string title;
private DateTime dueDate;
private PrioryEnum priority; // Create an enum for this
private myClass parent;
private ArrayList children;
}

Then add properties for access as needed.


Christian Graus - Microsoft MVP - C++
GeneralRe: Class Stucture Question Pin
jgallen2324-Oct-05 16:46
jgallen2324-Oct-05 16:46 
GeneralRe: Class Stucture Question Pin
Christian Graus24-Oct-05 16:47
protectorChristian Graus24-Oct-05 16:47 
Question2 question in C# Pin
Yanshof24-Oct-05 14:33
Yanshof24-Oct-05 14:33 
AnswerRe: 2 question in C# Pin
Christian Graus24-Oct-05 15:24
protectorChristian Graus24-Oct-05 15:24 
QuestionHelp with REGEX match cases Pin
jeweladdict24-Oct-05 13:57
jeweladdict24-Oct-05 13:57 
AnswerRe: Help with REGEX match cases Pin
Christian Graus24-Oct-05 14:00
protectorChristian Graus24-Oct-05 14:00 
GeneralRe: Help with REGEX match cases Pin
jeweladdict25-Oct-05 5:39
jeweladdict25-Oct-05 5:39 
QuestionRichtextbox -> ListBox Pin
Stathread24-Oct-05 13:49
Stathread24-Oct-05 13:49 
AnswerRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:02
protectorChristian Graus24-Oct-05 14:02 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:06
Stathread24-Oct-05 14:06 
GeneralRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:11
protectorChristian Graus24-Oct-05 14:11 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:13
Stathread24-Oct-05 14:13 
GeneralRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:15
protectorChristian Graus24-Oct-05 14:15 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:15
Stathread24-Oct-05 14:15 
GeneralRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:17
protectorChristian Graus24-Oct-05 14:17 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:20
Stathread24-Oct-05 14:20 
QuestionIs it possible to copy or delete or move a locked file? Pin
Sasuko24-Oct-05 12:49
Sasuko24-Oct-05 12:49 

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.