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 | | Chapter 10. Understanding Windows Forms |
This chapter covered some of the important properties you need to set when adding forms to your project, and how to control the display of multiple forms. In order to find out even more about forms and form design, please read the following chapters: To learn how to use multiple forms in a parent-child relationship, read Chapter 15, "Multiple Document Interface (MDI) Applications." For information on proper control placement and form design, see Chapter 14, "Designing an Effective User Interface." To find out about a special type of form, the dialog box, see Chapter 13, "Using Dialog Boxes." To explore the many controls you can use on your windows, see Chapter 11, "Fundamental Controls," and Chapter 12, "Advanced Controls." |
| Team-Fly | |
|
| |
|