Mercurial > hg > ucis.core
changeset 31:af27992b5972
FBGUI: Added Form Closed event
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Thu, 18 Apr 2013 22:45:54 +0200 |
parents | 24e918d2ac18 |
children | ff1bc8445743 |
files | FBGUI/FBGUI.cs |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/FBGUI/FBGUI.cs Thu Apr 18 18:48:38 2013 +0200 +++ b/FBGUI/FBGUI.cs Thu Apr 18 22:45:54 2013 +0200 @@ -712,6 +712,7 @@ private NonClientOps moveresize = 0; private String text = String.Empty; public event EventHandler TextChanged; + public event EventHandler Closed; public Boolean Sizable { get; set; } public Boolean Movable { get; set; } public Boolean Closable { get; set; } @@ -847,6 +848,7 @@ } public void Close() { Parent.RemoveControl(this); + RaiseEvent(Closed); } } public class FBGDesktop : FBGContainerControl {