In Jeff Prosise's Book Programming Microsoft .NET
Chapter 4 Windows Forms,
"Experienced Windows Developers Are Off" Dialogs Create Their Controls ProGrammatical ". ...".
That's wrong, we can add a new Windows Form to our Visual C # project, and drag and drop controls onto it in Design View. And set StartPosition, FormBorderStyle, MaximizeBox, MinimizeBox, ShowInTaskbar etc. properties in the property panel. All this can be Done without any manual code.
THEN, INVOKE this Windows form with the method "showdialog" and it is a dialog box.