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=79330 --- shadow/79330 2006-09-08 17:10:33.000000000 -0400 +++ shadow/79330.tmp.14988 2006-09-08 17:10:33.000000000 -0400 @@ -0,0 +1,95 @@ +Bug#: 79330 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [wf-apps] ControlInspector exception opening second control + +Upon opening a second control (just open a form, then form again) +ControlInspector crashes in CreateControl with an ObjectDisposedException. + +example trace is: + +Unhandled Exception: System.ObjectDisposedException: The object was used +after being disposed. + at System.Windows.Forms.Control.CreateControl () [0x00000] + at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] + at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] + at (wrapper remoting-invoke-with-check) +System.Windows.Forms.Control:set_Visible (bool) + at System.Windows.Forms.TreeView.UpdateScrollBars () [0x00000] + at (wrapper remoting-invoke-with-check) +System.Windows.Forms.TreeView:UpdateScrollBars () + at System.Windows.Forms.TreeNodeCollection.SetupNode +(System.Windows.Forms.TreeNode node) [0x00000] + at System.Windows.Forms.TreeNodeCollection.Add +(System.Windows.Forms.TreeNode node) [0x00000] + at ControlInspector.MainForm.AddEventsToTreeView +(ControlInspector.ControlEvent ce, System.Windows.Forms.TreeView treeView, +Boolean includeControlName) [0x00000] + at ControlInspector.MainForm.eventFired (System.Object sender, +System.EventArgs e) [0x00000] + at (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) + at ControlInspector.ControlEvent.OnEventFired (System.EventArgs e) [0x00000] + at ControlInspector.ControlEvent.GenericHandleEvent (System.Object +sender, System.Object eventArgs) [0x00000] + at DerivedControlEventCancelEventArgs.HandleEvent (System.Object , +System.ComponentModel.CancelEventArgs ) [0x00000] + at (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_CancelEventArgs +(object,System.ComponentModel.CancelEventArgs) + at System.Windows.Forms.Form.OnClosing +(System.ComponentModel.CancelEventArgs e) [0x00000] + at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) +[0x00000] + at System.Windows.Forms.Control+ControlNativeWindow.WndProc +(System.Windows.Forms.Message& m) [0x00000] + at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, +IntPtr wParam, IntPtr lParam) [0x00000] + at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message, +IntPtr wParam, IntPtr lParam) [0x00000] + at System.Windows.Forms.XplatUI.SendMessage (IntPtr handle, Msg message, +IntPtr wParam, IntPtr lParam) [0x00000] + at System.Windows.Forms.Form.Close () [0x00000] + at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:Close () + at ControlInspector.MainForm.StartMonitorControl +(System.Windows.Forms.Control c) [0x00000] + at ControlInspector.MainForm.StartMonitorControl +(System.Reflection.Assembly assembly, System.String typeName) [0x00000] + at ControlInspector.MainForm.menuWindowsForms_Click (System.Object +sender, System.EventArgs e) [0x00000] + at (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) + at System.Windows.Forms.MenuItem.OnClick (System.EventArgs e) [0x00000] + at System.Windows.Forms.MenuItem.PerformClick () [0x00000] + at (wrapper remoting-invoke-with-check) +System.Windows.Forms.MenuItem:PerformClick () + at System.Windows.Forms.MenuTracker.OnMouseUp +(System.Windows.Forms.MouseEventArgs args) [0x00000] + at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) +[0x00000] + at System.Windows.Forms.Control+ControlNativeWindow.WndProc +(System.Windows.Forms.Message& m) [0x00000] + at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, +IntPtr wParam, IntPtr lParam) [0x00000] + at System.Windows.Forms.XplatUIX11.DispatchMessage +(System.Windows.Forms.MSG& msg) [0x00000] + at System.Windows.Forms.XplatUI.DispatchMessage +(System.Windows.Forms.MSG& msg) [0x00000] + at System.Windows.Forms.Application.RunLoop (Boolean Modal, +System.Windows.Forms.ApplicationContext context) [0x00000] + at System.Windows.Forms.Application.Run (System.Windows.Forms.Form +mainForm) [0x00000] + at ControlInspector.Startup.Main () [0x00000] _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
