diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-13 15:48:05 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-13 15:48:05 +0200 |
| commit | 746f5cfb60c9a798825e31c2e362cfc817e59d44 (patch) | |
| tree | b6bb8ffb83f06fecff3d7805a64d095f3ec35740 /src/GraphicObjects/Window.cs | |
| parent | 78e040f5f6f3af0f4e66b84523f77fdfb819b8af (diff) | |
-window, icons
Diffstat (limited to 'src/GraphicObjects/Window.cs')
| -rw-r--r-- | src/GraphicObjects/Window.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/GraphicObjects/Window.cs b/src/GraphicObjects/Window.cs index 61d6fd1f..aae75a54 100644 --- a/src/GraphicObjects/Window.cs +++ b/src/GraphicObjects/Window.cs @@ -47,12 +47,16 @@ namespace go protected override void loadTemplate(GraphicObject template = null) { base.loadTemplate (template); - _contentContainer = this.child.FindByName ("Content") as Container; _title = this.child.FindByName ("Title") as Label; _icon = this.child.FindByName ("Icon") as Image; } + void butQuitPress (object sender, MouseButtonEventArgs e) + { + TopContainer.Quit (); + } + } } |