TabControl icon indicating copy to clipboard operation
TabControl copied to clipboard

There is error when drap this control from toolbox。

Open huguojunsy opened this issue 10 years ago • 0 comments


Microsoft Visual Studio

创建组件“TabHost”失败。错误消息为:

“System.NullReferenceException: 未将对象引用设置到对象的实例。

在 TabControl.TabHost.LayoutTabs() 位置 D:\my source\TabControl\TabControl\TabHost.cs:行号 390

在 TabControl.TabHost.OnResize(EventArgs e) 位置 D:\my source\TabControl\TabControl\TabHost.cs:行号 340

在 System.Windows.Forms.Control.OnSizeChanged(EventArgs e)

在 System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)

在 System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)

在 System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)

在 System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)

在 System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)

在 System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)

在 System.Windows.Forms.ContainerControl.Scale(SizeF includ...”

确定

huguojunsy avatar Oct 22 '14 12:10 huguojunsy