Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82483 --- shadow/82483 2007-08-19 00:02:16.000000000 -0400 +++ shadow/82483.tmp.3269 2007-08-21 14:17:31.000000000 -0400 @@ -44,6 +44,42 @@ ControlBox = true; MinimizeBox = false; MaximizeBox = false; FormBorderStyle = FormBorderStyle.FixedDialog; } } + +------- Additional Comments From [EMAIL PROTECTED] 2007-08-21 14:17 ------- +Additionally, if you set MinimizeBox to false after the window is +created its caption bar will not even be repainted. For example, run +this: + +using System; +using System.Drawing; +using System.Windows.Forms; + +public class MainForm : Form +{ + [STAThread] + static void Main () + { + Application.Run (new MainForm ()); + } + + public MainForm () + { + ClientSize = new Size (300, 220); + StartPosition = FormStartPosition.CenterScreen; + Text = "bug ######"; + + ControlBox = true; + MaximizeBox = false; + FormBorderStyle = FormBorderStyle.FixedDialog; + } + + protected override void OnClick (EventArgs e) + { + MinimizeBox = false; + } +} + +and click the form. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
