Summary

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); }

Extender Providers are a useful idea and an easy way to add additional properties to existing controls. Other uses for extenders include adding layout management such as Flow, Grid, or GridBag layout to a Form at design-time. Of course, you'll also have to implement the layout logic, but using extenders allows for assigning various layouts to different elements of a form. The uses for extenders are limited only by your imagination and necessity.



    .NET Windows Forms Custom Controls
    User Interfaces in VB .NET: Windows Forms and Custom Controls
    ISBN: 1590590449
    EAN: 2147483647
    Year: 2002
    Pages: 74

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