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

The intent of this chapter was to produce a simple designer for the IconButton that was developed in the preceding chapter. In addition, I wanted to point out that there is no voodoo or black art to developing custom controls and the designers for those controls. All that is needed is an understanding of what is expected of a designer and the support provided by VS .NET. In addition, all the C# code presented in this chapter can easily be directly ported to VB .NET or any other .NET language. By now you should have a sense of the basic requirements for developing controls and their designers.



    .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