AboutForm / InfoForm

By juerh

Sometimes I have to create an AboutForm whereby the pre-defined AboutControl provided by Visual Studio will be avoided. In fact, I code always the same bug. Using an AboutForm which will be hided if an user click on any control on the AboutForm, but if the FormBorderStyle is not ‘None’(e.g. Fixed3D) and an user dispose the form with the Close/Dispose button at the border there will be an ObjectDisposedException fired when the AboutForm will be shown the next time.

Solution: FormBorderStyle -> None

Tags: ,

Leave a Reply