[Mono-bugs] [Bug 79982][Wis] New - Toolbar hides form

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Nov 19 10:06:46 EST 2006


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 kobruleht2 at hot.ee.

http://bugzilla.ximian.com/show_bug.cgi?id=79982

--- shadow/79982	2006-11-19 10:06:46.000000000 -0500
+++ shadow/79982.tmp.17878	2006-11-19 10:06:46.000000000 -0500
@@ -0,0 +1,85 @@
+Bug#: 79982
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: kobruleht2 at hot.ee               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Toolbar hides form
+
+To reproduce
+
+Run code. Move form title bar to toolbar area by mouse
+
+Observed: form title bar is not visible
+
+Expected: form title bar must remain visible
+
+Env: MONO 1.2 Windows XP
+
+Code to reproduce:
+
+
+using System;
+using System.Windows.Forms;
+
+namespace createdobjectstotshown
+{
+    public class Form1 : Form
+    {
+        private ToolBar toolBar1;
+    
+        public Form1()
+        {
+            InitializeComponent();
+            this.IsMdiContainer = true;
+            this.Load += new System.EventHandler(this.Form1_Load_1);
+         }
+
+        private void Form1_Load_1(object sender, EventArgs e)
+        {
+            Form x =new Form();
+            x.MdiParent = this;
+            x.Show();
+        }
+
+        private void InitializeComponent()
+        {
+            this.toolBar1 = new System.Windows.Forms.ToolBar();
+            this.SuspendLayout();
+            // 
+            // toolBar1
+            // 
+            this.toolBar1.DropDownArrows = true;
+            this.toolBar1.Location = new System.Drawing.Point(0, 0);
+            this.toolBar1.Name = "toolBar1";
+            this.toolBar1.ShowToolTips = true;
+            this.toolBar1.Size = new System.Drawing.Size(292, 42);
+            this.toolBar1.TabIndex = 0;
+            // 
+            // Form1
+            // 
+            this.ClientSize = new System.Drawing.Size(292, 273);
+            this.Controls.Add(this.toolBar1);
+            this.Name = "Form1";
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+    }
+
+    static class Program
+    {
+        static void Main()
+        {
+            Application.Run(new Form1());
+        } }   }


More information about the mono-bugs mailing list