Creating an App using JScript .NET and Windows Forms

Walk through an application written in JScript .NET that implements a Windows Forms and features menus, a tab strip control, a tree View control, a progress bar, a picture box control, a timer, a calendar control, and much more.

provided by: 
Originally published at Internet.com


In the second article of this series, I briefly described how the JScript .NET and the .NET Framework allow JScript developers to create Windows-style applications using Windows Forms. Windows Forms is a part of the .NET Framework that enables developers to take advantage of Windows' graphical interface capabilities.

A Windows Form represents a traditional graphical interface through which users interact with your application. Windows Forms offers a cohesive programming model that makes it easy to build forms that have rich capabilities and a high degree of interactivity. This article walks you through a sample application written in JScript .NET that implements a Windows Forms application that features and uses these types of controls: * Main menu * Context menu * Tab strip control * Tree View control * Checked List Box control * Drop Down menu * Progress bar * Picture box control * Timer * Month calendar control

Figure 1 shows the completed application featured in this article.

Figure 1 - Sample Application

Understanding the Windows Forms Programming Model



As with most other aspects of the programming with the .NET Framework, a Windows Form is an object that derives from a base class, which implements most of the form's behavior. Your job is to add controls and customize the behavior of the form for your application. The Windows Forms package primarily resides in the System.Windows.Forms namespace; however, you'll also require access to members of the System.Drawing namespace, which supports accurate the Windows Forms package by allowing you to accurately specify control placement and size...

Read article at Internet.com site
Regional Articles
- Creating an App using JScript .NET and Windows Forms Alabama
- Creating an App using JScript .NET and Windows Forms Alaska
- Creating an App using JScript .NET and Windows Forms Arizona
- Creating an App using JScript .NET and Windows Forms Arkansas
- Creating an App using JScript .NET and Windows Forms California
- Creating an App using JScript .NET and Windows Forms Colorado
- Creating an App using JScript .NET and Windows Forms Connecticut
- Creating an App using JScript .NET and Windows Forms DC
- Creating an App using JScript .NET and Windows Forms Delaware
- Creating an App using JScript .NET and Windows Forms Florida
- Creating an App using JScript .NET and Windows Forms Georgia
- Creating an App using JScript .NET and Windows Forms Hawaii
- Creating an App using JScript .NET and Windows Forms Idaho
- Creating an App using JScript .NET and Windows Forms Illinois
- Creating an App using JScript .NET and Windows Forms Indiana
- Creating an App using JScript .NET and Windows Forms Iowa
- Creating an App using JScript .NET and Windows Forms Kansas
- Creating an App using JScript .NET and Windows Forms Kentucky
- Creating an App using JScript .NET and Windows Forms Louisiana
- Creating an App using JScript .NET and Windows Forms Maine
- Creating an App using JScript .NET and Windows Forms Maryland
- Creating an App using JScript .NET and Windows Forms Massachusetts
- Creating an App using JScript .NET and Windows Forms Michigan
- Creating an App using JScript .NET and Windows Forms Minnesota
- Creating an App using JScript .NET and Windows Forms Mississippi
- Creating an App using JScript .NET and Windows Forms Missouri
- Creating an App using JScript .NET and Windows Forms Montana
- Creating an App using JScript .NET and Windows Forms Nebraska
- Creating an App using JScript .NET and Windows Forms Nevada
- Creating an App using JScript .NET and Windows Forms New Hampshire
- Creating an App using JScript .NET and Windows Forms New Jersey
- Creating an App using JScript .NET and Windows Forms New Mexico
- Creating an App using JScript .NET and Windows Forms New York
- Creating an App using JScript .NET and Windows Forms North Carolina
- Creating an App using JScript .NET and Windows Forms North Dakota
- Creating an App using JScript .NET and Windows Forms Ohio
- Creating an App using JScript .NET and Windows Forms Oklahoma
- Creating an App using JScript .NET and Windows Forms Oregon
- Creating an App using JScript .NET and Windows Forms Pennsylvania
- Creating an App using JScript .NET and Windows Forms Rhode Island
- Creating an App using JScript .NET and Windows Forms South Carolina
- Creating an App using JScript .NET and Windows Forms South Dakota
- Creating an App using JScript .NET and Windows Forms Tennessee
- Creating an App using JScript .NET and Windows Forms Texas
- Creating an App using JScript .NET and Windows Forms Utah
- Creating an App using JScript .NET and Windows Forms Vermont
- Creating an App using JScript .NET and Windows Forms Virginia
- Creating an App using JScript .NET and Windows Forms Washington
- Creating an App using JScript .NET and Windows Forms West Virginia
- Creating an App using JScript .NET and Windows Forms Wisconsin
- Creating an App using JScript .NET and Windows Forms Wyoming
Related Articles

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML