Click here to Skip to main content
15,505,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: e-mail files Pin
JonathanSlenders27-Jan-04 1:42
sussJonathanSlenders27-Jan-04 1:42 
GeneralRe: e-mail files Pin
Mazdak27-Jan-04 2:54
Mazdak27-Jan-04 2:54 
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 
I'm just starting to get my teeth in to C# and so far I think its going quite well. I used to do quite a bit of coding in Delphi which brings me on to my current problem.

In Delphi you used to be able to create your own class using a Thread class as its base

example:
<br />
-------------------------------- <br />
TMyClass = Class(TThread) <br />
.... <br />
Public <br />
  FVariable : string; <br />
End; <br />
<br />
Var<br />
  MyClass : TMyClass; <br />
<br />
MyClass := TMyClass.Create(True); <br />
MyClass.FVariable := 'Test'; <br />
-------------------------------- <br />


MyClass now has all the functions/procedures and variables of a normal thread class. I would like to do the same thing in C# but I can't inherit from system.threading.thread because it's sealed. I suspect there might be another approach to this but I can't find much on google. I guess I am not searching for the right things here. I guess I'm trying to do this the Delphi way when I should be doing them the C# way!!!

Any ideas anyone?

Thanks
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 
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 

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.