Creating the Project
Shall we begin? Start by closing any open projects or solutions. Create a project. When prompted, select Windows Control Library. Name the project DataControl. This will create a Windows Control Library project with a default UserControl class called UserControl1.vb. Select UserControl1.vb in the Project window and open the code view. Notice that the control is just a class that inherits from windows.forms.UserControl. Change the programmatic name of the class to ucDataNav for data navigator. Do this by simply overtyping UserControl1 with ucDataNav right in the source code. To be consistent let’s also change the source code file name to match. Do this right in the Project window. Note two things: Changing the name in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access