ComponentFactory / Krypton

Krypton WinForms components for .NET
BSD 3-Clause "New" or "Revised" License
1.88k stars 689 forks source link

Cause an exception "ReadOnly controls collection" #95

Open zhupengfeivip opened 6 years ago

zhupengfeivip commented 6 years ago

Download the demo, change the form size in Ribbon Controls, and this error will occur. It can't be solved.

下载demo,改变一下Ribbon Controls中form大小,就会出现这个错误。解决不了。

zhupengfeivip commented 6 years ago
在 ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls.Add(Control value) 位置 D:\Project\Krypton\Source\Krypton Components\ComponentFactory.Krypton.Toolkit\General\KryptonReadOnlyControls.cs:行号 63 在 ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls.Add(Control value) 位置 D:\Project\Krypton\Source\Krypton Components\ComponentFactory.Krypton.Toolkit\General\KryptonReadOnlyControls.cs:行号 63 在 ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls.Add(Control value) 位置 D:\Project\Krypton\Source\Krypton Components\ComponentFactory.Krypton.Toolkit\General\KryptonReadOnlyControls.cs:行号 63
在 ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls.Add(Control value) 位置 D:\Project\Krypton\Source\Krypton Components\ComponentFactory.Krypton.Toolkit\General\KryptonReadOnlyControls.cs:行号 63 在 ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls.Add(Control value) 位置 D:\Project\Krypton\Source\Krypton Components\ComponentFactory.Krypton.Toolkit\General\KryptonReadOnlyControls.cs:行号 63

在 ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls.Add(Control value) 位置 D:\Project\Krypton\Source\Krypton Components\ComponentFactory.Krypton.Toolkit\General\KryptonReadOnlyControls.cs:行号 63

Smurf-IV commented 6 years ago

I ran the application using the WangerP 47b nuget, and it works (But See issue #96).. The same issue appears in the designer, but not your Readonly controls thing..

PWagner1 commented 6 years ago

@Smurf-IV and @zhupengfeivip

I would recommend using KryptonToolkitSuite47 as all future packages will be condensed into one. The same will happen for .NET Framework 4.6.2 and 4.7.1 builds. I will publish other .NET Framework builds if requested.