function OpenWin(url, w, h) { if(!w) w = 400; if(!h) h = 300; window.open(url, "_new", "width=" + w + ",height=" + h + ",menubar=no,toobar=no,scrollbars=yes", true); } function Print() { window.focus(); if(window.print) { window.print(); window.setTimeout('window.close();',5000); } }
| Team-Fly | |
| Special Edition Using Microsoft® Visual Basic® .NET By Brian Siler, Jeff Spotts
| Table of Contents | | Part III: Building Windows Applications |
In this chapter Windows Control Basics Creating a Windows Control Testing the Control Adding Your Custom Controls to Other Projects Enhancing a Windows Control From Here . . . As you have learned, you can use an assortment of the controls included with Visual Basic .NET to build a powerful application quickly. One of the most exciting features of Visual Basic is the ability to create your own controls. These programmer-built Windows controls, known as custom controls or user controls, can then be used in Visual Basic applications like any other control. In this chapter, we will take a look at the various approaches you can take and some of the issues that you need to consider when creating user controls. |
| Team-Fly | |
|
| |
|