[Mono-winforms-list] Question about CommonDialog implementation

Peter Dennis Bartok peter@novonyx.com
Wed, 29 Dec 2004 13:35:10 -0700


>I don't understand, why are we making the instance of the DialogForm in
>the CommonDialog constructor? CommonDialog is an abstract class so one
>should make an instance of his own class inherited from DialogForm class
>like FontDialogForm in FontDialog constructor. This way we have one
>useless DialogForm instance.
I am not sure I understand what you are talking about, it might help to see 
your code to understand. How would ShowDialog() work if CommonDialog does 
not create the form?

>which calls Control() c'tor that checks CreateParams property which is
>virtual and dependent on the 'owner' field' that's never been assigned
>so far.
Are you sure you're on the latest svn code? I thought I had a check for that 
in all places. Would you have a testcase?

Cheers,
  Peter