I would appreciate it much, if someone could help me with this X-looking button on the framewindow called Close Button.
Excuse my ignorance here,

but the close button seems not to close anything. I found out that the CloseButtonEnabled property is only to hide or show the button. How do i get the button to actually close the window. I can't really call an event to handle it, since it doesn't have a name.
I'm hoping there's something really easy that i just dont know about

. I figure it should be a common feature to deal with, but i failed to find the solution in the forum. It might just have been my ignorance's fault again.
thanks