Dialog Boxes Use in Windows Forms

xiaoxiao2021-03-06  43

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.

转载请注明原文地址:https://www.9cbs.com/read-57192.html

New Post(0)