Technical Training
VB.NET 2005VB.NET MDI Applications
Creating Multiple-Document Interface (MDI) Applications
In this tutorial you will learn about Creating Multiple Document Interface (MDI) Applications.
Creating Multiple-Document Interface (MDI) Applications
In most real time applications we often find that multiple windows open within another window. This kind of need is satisfied by implementing Multiple Document Interface (MDI) Applications. You can create a class and designate it as a MDI window by setting its IsMDIContainer Property as true. Set the value for WindowState as maximized. This can be done by editing the property sheet. You will see that the color of the form changes as can be easily seen on the screenshot below:

1. You can add two more forms to this project as Child1 and Child2.
2. Now add menu strip from the tool bar and add three main menus namely Form1, Form2 and Exit.
3. In the click event of each of the menus options type the code as given below.
Now press F5 to execute the program. You will be seeing a maximized window. Click on the menu options and check out the application. The following screenshot shows multiple windows opened within the parent window.

In this lesson we have examined the various controls that can be used in a VB.NET application. We have seen how their properties can be set at design time or manipulated at runtime. In the next lesson we shall see how we can handle Exceptions that may occur when mistakes are made by the user or the application seizes up due to the occurrence of an abnormal event.
VB.NET 2005
- VB.NET 2005 Free Training
- The .NET Framework Architecture Part 1
- The .NET Framework Architecture Part 2
- Application Class and Message Class
- Implementing Class Library Object
- Visual Studio.NET Namespaces
- .NET Assemblies
- Differences between VB.NET 1.0 and VB.NET 2.0
- Introducing VB.NET Windows Forms
- Visual Studio Windows Forms Designer
- Exploring the Forms Designer generated code
- Setting and Adding Properties to Windows Form
- Implementing Inheritance
- Event Handling In Visual Basic .NET
- Building Graphical Interface elements
- .NET Common Windows Forms Controls Part 1
- .NET Common Windows Forms Controls Part 2
- Common Controls and Handling Control Events
- DomainUpDown and NumericUpDown Controls
- Dialog Boxes in Visual Basic .NET
- Visual Studio Adding Controls to Windows Form
- VB.NET Validation Controls
- Working with Menu Controls
- VB.NET MDI Applications
- .NET Exceptions
- VB.NET Creating and Managing Components Part 1
- VB.NET Creating and Managing Components Part 2
- Simple Data Binding
- .NET Complex Data Binding
- .NET Data Form Wizard
- Data Manipulation with ADO.NET
- SQL Server Stored Procedures
- SQL Server Ad Hoc Queries
- Finding and Sorting Data in DataSets
- ADO.NET Object Model
- Working with DataSets
- Using XML Data
- Working with File System in .NET
- Creating Web Service
- Instantiating - Invoking Web Services, Creating Proxy Classes with WSDL
- Web Reference and Web Services
- Web Services - SOAP, WSDL, Disco and UDDI
- Web Application Testing in VB.NET 2005
- Web Application Tracing and Debugging
- Working with Legacy Code and COM Components
- ActiveX Controls and Legacy Code
- Windows Application Testing
- VB.NET Windows Application Testing
- Tracing VB.NET Windows Application
- Debugging Windows Applications In Visual Studio.NET 2005
- Deploying Windows Applications In Visual Studio.NET 2005
- Customizing Setup Project in Visual Studio.NET 2005
- Shared Assembly
- Microsoft .NET Creating Installation Components
- The Registry Editor in Visual Studio.NET 2005
- The File Types Editor







