Lecture overview -- Keyboard shortcut: 'u'  Previous page: Implementation of the IntSequence classes -- Keyboard shortcut: 'p'  Next page: A Composite Example: A GUI  -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 27 : 37
Object-oriented Programming in C#
Abstract classes, Interfaces, and Patterns
A Composite Example: A GUI

The classes of a Graphical User Interface (GUI) make up a Composite design pattern

/user/normark/oop-csharp-1/sources/c-sharp/windows-forms/CompositeDemo.csA program that builds a sample composite graphical user interface.


A Form (Window) with two buttons, a textbox, and a panel.