Design Pattern Examples
Overview of object-oriented design patterns
HandlerChain_Message_Class.cs File Reference

The MessagePosition and Message structs used in the HandlerChain pattern. More...

Go to the source code of this file.

Classes

struct  MessagePosition
 Position of the message in global coordinates (same scope of coordinates as windows). Although this can handle negative coordinates, the example is careful to use only positive coordinates. More...
 
struct  Message
 Represents a message sent to the windows. A message contains a type and a position. More...
 

Namespaces

namespace  DesignPatternExamples_csharp
 The namespace containing all Design Pattern Examples implemented in C#.
 

Enumerations

enum  MessageType { Close = 0 , ButtonDown = 1 , ButtonUp }
 Type of message handled by MessageWindow. More...
 

Detailed Description

The MessagePosition and Message structs used in the HandlerChain pattern.

Definition in file HandlerChain_Message_Class.cs.