In Jeff Prosise's book
Programming Microsoft .NET
Chapter 4 Windows Forms,
”Experienced Windows developers are often shocked to find that Windows Forms dialogs create their controls programmatically. ...”.
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 coding.
Then , invoke this Windows Form with the method “ShowDialog“ and it is a Dialog Box.
Programming Microsoft .NET
Chapter 4 Windows Forms,
”Experienced Windows developers are often shocked to find that Windows Forms dialogs create their controls programmatically. ...”.
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 coding.
Then , invoke this Windows Form with the method “ShowDialog“ and it is a Dialog Box.