[Mono-bugs] [Bug 432794] New: WindowState property ignored in Form Load on Mac OS only

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 6 17:01:27 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=432794


           Summary: WindowState property ignored in Form Load on Mac OS only
           Product: Mono: Runtime
           Version: 2.0
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: io-layer
        AssignedTo: dick at novell.com
        ReportedBy: andrew at coupesonline.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


Created an attachment (id=243757)
 --> (https://bugzilla.novell.com/attachment.cgi?id=243757)
C# form that changes Windowstate to minimized in Load event

Following code works fine on Mono 2 for Windows.  Is ignored by Mac runtime
with no error message.

public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Minimized;
        }
    }

The default WindowState of the form is set to Normal.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list