# HG changeset patch # User Ivo Smits # Date 1366317954 -7200 # Node ID af27992b59723a4b8f5de8b6ed4262265ca60a89 # Parent 24e918d2ac18cfde7f08d2817420360b9d3ad206 FBGUI: Added Form Closed event diff -r 24e918d2ac18 -r af27992b5972 FBGUI/FBGUI.cs --- 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 {