?
=?ISO-8859-1?Q?Mikko_Nyl=E9n?=
After playing a while with System.Windows.Forms, I decided to try
creating my own custom dialogs from scratch. After a bit of googling, I
found out that there's not so much examples of doing own custom dialogs.
So, I'm asking what is the preferred way for creating your own custom
dialogs from scratch? I think it would look a little absurd to inherit
Form for a dialog and the only alternative I was able to find was
inheriting CommonDialog.
The ColorDialog, FontDialog and others inherit from CommonDialog, so I
feel like it would be the preferred way. But the problem is that I can't
find any examples and the documentation of that class in MSDN isn't so
good. For example, when I override RunDialog() and Reset(), what they
should actually do? Is there any examples available?
Thanks in advance.
- Mikko Nylén
creating my own custom dialogs from scratch. After a bit of googling, I
found out that there's not so much examples of doing own custom dialogs.
So, I'm asking what is the preferred way for creating your own custom
dialogs from scratch? I think it would look a little absurd to inherit
Form for a dialog and the only alternative I was able to find was
inheriting CommonDialog.
The ColorDialog, FontDialog and others inherit from CommonDialog, so I
feel like it would be the preferred way. But the problem is that I can't
find any examples and the documentation of that class in MSDN isn't so
good. For example, when I override RunDialog() and Reset(), what they
should actually do? Is there any examples available?
Thanks in advance.
- Mikko Nylén