Extending the CommonDialog Class

  • Thread starter Thread starter Steve B. [Labo.Net]
  • Start date Start date
S

Steve B. [Labo.Net]

Hi

In a control Library I'd like to build my own dialog, inheriting
CommonDialog.

However, the only way to realise it I found is to create one class
inheriting CommonDialog (public class MyDialog : CommonDialog) AND one
internal class providing the form (internal class MyDialogForm : Form).

I do not like this why because in my library there's more than one file for
only one components.

Is there any cleaner way to get this result ?

Thanks !
 
Hi Steve,

CommonDialog is intended most of the time for wrapping system dialogs such
as file dialogs or printer setup.

We have a commercial product that inherits CommonDialog and automates most
of alignment and layout tasks. It has button presets, too.

If interested you can see more information here:
http://www.neopixell.com/products.php?fastdialog

Nadia Herrera,
Neopixell
 
Back
Top