Chapter 4. A Visual Basic .NET Framework

 <  Day Day Up  >  

IN THIS CHAPTER

  • Starting the New Windows Application Project

  • Adding a Windows Controls Library

  • Building Your First Inheritable Form

  • Programming with Class

  • Click Event Code for the Form's Buttons

In this chapter, we'll build a simple application framework for Visual Basic .NET forms applications that use SQL Server. You'll see how object-oriented techniques can greatly reduce development time and cost, and simplify your job. If you thought Visual Basic .NET was a lot harder than Visual FoxPro, I think you'll be pleasantly surprised.

A small Visual Basic .NET Windows Application project might consist of

  • A Main form to contain the application and the menu

  • The Menu control in the Main form

  • A few forms to add, edit, and delete records from individual tables

We'll base the Add/Edit/Delete forms on a single inheritable form class, so that we only write the common code once and reuse it as needed.

 <  Day Day Up  >  


Visual Fox Pro to Visual Basic.NET
Visual FoxPro to Visual Basic .NET
ISBN: 0672326493
EAN: 2147483647
Year: 2004
Pages: 130
Authors: Les Pinter

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net