2 references to contentPanelType
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripContainer.cs (2)
464
if (!
contentPanelType
.IsAssignableFrom(controlType) && !panelType.IsAssignableFrom(controlType)) {
465
throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfTypes,
contentPanelType
.Name, panelType.Name)), value.GetType().Name);