Click here to Skip to main content
15,898,744 members
Home / Discussions / C#
   

C#

 
GeneralRe: ShowDialog from seperate thread Pin
lgelliott15-Apr-08 15:10
lgelliott15-Apr-08 15:10 
GeneralRe: ShowDialog from seperate thread Pin
Judah Gabriel Himango16-Apr-08 4:13
sponsorJudah Gabriel Himango16-Apr-08 4:13 
GeneralRe: ShowDialog from seperate thread Pin
lgelliott17-Apr-08 2:48
lgelliott17-Apr-08 2:48 
GeneralRe: ShowDialog from seperate thread Pin
Judah Gabriel Himango17-Apr-08 4:46
sponsorJudah Gabriel Himango17-Apr-08 4:46 
GeneralRe: ShowDialog from seperate thread Pin
lgelliott17-Apr-08 7:18
lgelliott17-Apr-08 7:18 
Generaldispose wrapped resource Pin
George_George15-Apr-08 4:46
George_George15-Apr-08 4:46 
GeneralRe: dispose wrapped resource Pin
Simon P Stevens15-Apr-08 5:03
Simon P Stevens15-Apr-08 5:03 
GeneralRe: dispose wrapped resource Pin
George_George15-Apr-08 5:07
George_George15-Apr-08 5:07 
Hi Simon,


1.

I am totally confused. In C#, we are not allowed to program Finalize method, so do you mean I should not have a destructor in derived class by below quoted comments?

2.

BTW: if the derived class manages native resource, I think it needs to have a destructor. Any comments?

Simon Stevens wrote:
You shouldn't have a finalizer in the derived class, that will be inherited from the base class.



regards,
George
GeneralRe: dispose wrapped resource Pin
Simon P Stevens15-Apr-08 7:34
Simon P Stevens15-Apr-08 7:34 
GeneralRe: dispose wrapped resource Pin
George_George15-Apr-08 23:25
George_George15-Apr-08 23:25 
GeneralRe: dispose wrapped resource Pin
Simon P Stevens16-Apr-08 1:21
Simon P Stevens16-Apr-08 1:21 
GeneralRe: dispose wrapped resource Pin
George_George16-Apr-08 1:55
George_George16-Apr-08 1:55 
GeneralRe: dispose wrapped resource Pin
Simon P Stevens16-Apr-08 4:18
Simon P Stevens16-Apr-08 4:18 
GeneralRe: dispose wrapped resource Pin
George_George16-Apr-08 4:23
George_George16-Apr-08 4:23 
GeneralRe: dispose wrapped resource Pin
led mike15-Apr-08 5:13
led mike15-Apr-08 5:13 
GeneralRe: dispose wrapped resource [modified] Pin
Simon P Stevens15-Apr-08 7:09
Simon P Stevens15-Apr-08 7:09 
GeneralRe: dispose wrapped resource Pin
George_George15-Apr-08 23:28
George_George15-Apr-08 23:28 
GeneralRe: dispose wrapped resource Pin
Simon P Stevens16-Apr-08 1:32
Simon P Stevens16-Apr-08 1:32 
GeneralRe: dispose wrapped resource Pin
George_George16-Apr-08 1:59
George_George16-Apr-08 1:59 
GeneralRe: dispose wrapped resource Pin
Zoltan Balazs16-Apr-08 2:41
Zoltan Balazs16-Apr-08 2:41 
GeneralRe: dispose wrapped resource Pin
George_George16-Apr-08 2:46
George_George16-Apr-08 2:46 
GeneralRe: dispose wrapped resource Pin
Zoltan Balazs15-Apr-08 7:44
Zoltan Balazs15-Apr-08 7:44 
GeneralRe: dispose wrapped resource Pin
George_George15-Apr-08 23:31
George_George15-Apr-08 23:31 
GeneralRe: dispose wrapped resource Pin
Zoltan Balazs16-Apr-08 2:39
Zoltan Balazs16-Apr-08 2:39 
GeneralRe: dispose wrapped resource Pin
George_George16-Apr-08 2:44
George_George16-Apr-08 2:44 

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.