JScript .NET, Part XI: Creating Windows Forms
add Web service in particular. In Part VIII, we showed you how to consume the
IsPrime Web service. In Part IX, we introduced the concept of Code Behind. In Part X, we explained how to display information with JScript .NET. In this column we'll show you how to create Windows forms with JScript .NET code.
JScript .NET supports two types of forms: Web forms and Windows forms. We covered Web forms in our last few columns, starting from Column 113. In this column we'll introduce you to Windows forms. Windows forms are intended for those developing Windows applications. These applications are rich in dockable windows, menus, buttons, text boxes, message boxes, and labels. We'll show you five distinct capabilities, built on top of the same skeleton code. They are anchoring, docking windows, click events, onmouseup events, and menus.
In this column you will learn:
The source code for these sample Windows forms are shown in:
All above source code files were zipped for you.
Thanks to Jeff Louie for letting me borrow some ideas from his Web site.
Next: How to structure a Windows form