0% found this document useful (0 votes)
29 views

Week 6 MDI Using Controls

The document discusses the Multiple Document Interface (MDI) in object oriented programming. It defines MDI as allowing multiple documents to be displayed at once in their own windows. It describes how MDI applications typically have a Window menu to switch between open windows and documents. It then provides steps to create an MDI parent form in Visual Studio, including setting the form's IsMdiContainer property to true and adding menu items for File and Window.

Uploaded by

Stephen Adingo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Week 6 MDI Using Controls

The document discusses the Multiple Document Interface (MDI) in object oriented programming. It defines MDI as allowing multiple documents to be displayed at once in their own windows. It describes how MDI applications typically have a Window menu to switch between open windows and documents. It then provides steps to create an MDI parent form in Visual Studio, including setting the form's IsMdiContainer property to true and adding menu items for File and Window.

Uploaded by

Stephen Adingo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

GHANA CHRISTIAN UNIVERSITY

COLLEGE
SCHOOL OF SCIENCE AND TECHNOLOGY

BSc INFORMATION TECHNOLOGY


SCIS 2523:
OBJECT ORIENTED PROGRAMMING II
(3-CREDIT)
Week 6:
The Multiple Document Interface (MDI).
6/6/2020 SCIS: 2513 2019/2020 1
Introduction to Multiple
Document Interface (MDI
• MDI-Multiple Document Interface

• Multiple-document interface (MDI) applications enable you


to display multiple documents at the same time, with each
document displayed in its own window.

• MDI applications often have a Window menu item with


submenus for switching between windows or documents.

6/6/2020
SCIS: 2513 2019/2020

2
How to: Create MDI Parent Forms

1.Create a Windows Application project in Visual Studio.


2. In the Properties window, set the IsMdiContainer property to
true
3.From the Toolbox, drag a MenuStrip control to the form.

4. Create a top-level menu item with the Text property set to


File with submenu items called New and Close. Also create a
top-level menu item called Window.

5. Press F5 to run the application.

SCIS: 2513 3 2019/2020


END OF LECTURE

THANK YOU

6/6/2020 SCIS: 2513 2019/2020 4

You might also like