Adding the Browse For Database OpenFileDialog Control

You're going to let the user browse for a database at runtime, so add a new OpenFileDialog control and set its properties as follows:

PropertyValue
NameofdChooseDatabase
FilterMicrosoft Access Databases|*.mdb
TitleOpen Database

Designing the Album Dialog Box

The secondary form you'll create is the Album dialog box, which will be used to create and edit albums in the database. Choose Project, Add Windows Form and create a new Windows form with the name fclsAlbum.cs. Set the form's properties as follows:

PropertyValue
FormBorderStyleFixedDialog
IconAlbum.ico
MaximizeBoxFalse
MinimizeBoxFalse
Size298,264
TextAlbum Maintenance
1.
Add a new label control to the form and set its properties as follows:

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.