[Mono-winforms-list] [PATCH] System.Windows.Forms.Form ControlBox bug

Lachlan Keown lachlankeown at gmail.com
Fri May 22 05:44:58 EDT 2009

Hi, I've been working on getting my Windows Forms app to work under Mono and
finding a few bugs along the way...
This one relates to the ControlBox property of the Form class. When
ControlBox is set to false, the form should have a title bar only if the
Text property is not empty. So whenever the Text or Controlbox properties
change this needs to be tested for and the Window size adjusted accordingly.
See the attached patch, which is probably overkill. I haven't written or run
any tests for this sorry as I'm still getting familiar with the Mono

Lachlan Keown
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20090522/49bd7a24/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Windows.Forms.ControlBox.diff
Type: application/octet-stream
Size: 1935 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20090522/49bd7a24/attachment.obj 

More information about the Mono-winforms-list mailing list