Click here to Skip to main content
15,921,028 members
Home / Discussions / C#
   

C#

 
GeneralVoice in C# Pin
Abkarino27-Jan-04 3:35
Abkarino27-Jan-04 3:35 
GeneralRe: Voice in C# Pin
Heath Stewart27-Jan-04 4:40
protectorHeath Stewart27-Jan-04 4:40 
GeneralRe: Voice in C# Pin
bindu012321-Apr-09 21:21
bindu012321-Apr-09 21:21 
GeneralMessage Queues & Service Pin
Dpriya27-Jan-04 2:21
Dpriya27-Jan-04 2:21 
GeneralRe: Message Queues & Service Pin
Heath Stewart27-Jan-04 4:32
protectorHeath Stewart27-Jan-04 4:32 
GeneralEnable scroll wheel in a panel Pin
Jonathan Slenders_27-Jan-04 0:37
sussJonathan Slenders_27-Jan-04 0:37 
GeneralRe: Enable scroll wheel in a panel Pin
Heath Stewart27-Jan-04 4:28
protectorHeath Stewart27-Jan-04 4:28 
GeneralRe: Enable scroll wheel in a panel Pin
J. Dunlap27-Jan-04 5:31
J. Dunlap27-Jan-04 5:31 
GeneralAutomating word documents from C# Pin
Marix27-Jan-04 0:06
Marix27-Jan-04 0:06 
GeneralRe: Automating word documents from C# Pin
Mazdak27-Jan-04 1:59
Mazdak27-Jan-04 1:59 
GeneralRe: Automating word documents from C# Pin
Heath Stewart27-Jan-04 4:24
protectorHeath Stewart27-Jan-04 4:24 
GeneralRe: Automating word documents from C# Pin
Marix27-Jan-04 23:16
Marix27-Jan-04 23:16 
Generale-mail files Pin
Kenneth_i26-Jan-04 23:06
Kenneth_i26-Jan-04 23:06 
GeneralRe: e-mail files Pin
Dmitriy Kostovetskiy27-Jan-04 0:30
Dmitriy Kostovetskiy27-Jan-04 0:30 
GeneralRe: e-mail files Pin
JonathanSlenders27-Jan-04 0:42
sussJonathanSlenders27-Jan-04 0:42 
GeneralRe: e-mail files Pin
Mazdak27-Jan-04 1:54
Mazdak27-Jan-04 1:54 
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 
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 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 
GeneralSelect node in a TreeView Pin
thomasa26-Jan-04 22:31
thomasa26-Jan-04 22:31 

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.