how to ... C#
nice one cheers.
one more though - i cant identify the event for when someone closes the form. It isnt deactivate is it? i thought that makes it grey
[EDIT]
forget that - i thought this.Created was only set once. but it seems it changes to false when windows closes. poor naming imho
one more though - i cant identify the event for when someone closes the form. It isnt deactivate is it? i thought that makes it grey
[EDIT]
forget that - i thought this.Created was only set once. but it seems it changes to false when windows closes. poor naming imho
Form.FormClosing or Form.FormClosed?
It refers to the underlying window handle. In some cases, Windows Forms will have to dispose and possibly recreate the window handle under the covers. .Created tells you whether the window handle has been created and is valid.
Quote:
forget that - i thought this.Created was only set once. but it seems it changes to false when windows closes. poor naming imho
It refers to the underlying window handle. In some cases, Windows Forms will have to dispose and possibly recreate the window handle under the covers. .Created tells you whether the window handle has been created and is valid.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement