Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / ToolStripDropDownItemDesigner.cs / 1 / ToolStripDropDownItemDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Windows.Forms.Design.ToolStripDropDownItemDesigner..ctor()")] namespace System.Windows.Forms.Design { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Windows.Forms; using System.Drawing; ////// Designer for ToolStripDropDownItems. This is here so only the /// dropdown items get the "Edit Items..." verb. /// internal class ToolStripDropDownItemDesigner : ToolStripItemDesigner { ////// Initialize the item. /// public override void Initialize(IComponent component) { base.Initialize (component); } ////// The ToolStripItems are the associated components. /// We want those to come with in any cut, copy opreations. /// public override System.Collections.ICollection AssociatedComponents { get { ToolStripDropDownItem item = Component as ToolStripDropDownItem; if (item != null && item.DropDown.IsAutoGenerated) { return item.DropDownItems; } return base.AssociatedComponents; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DefaultValueConverter.cs
- ZoomPercentageConverter.cs
- WindowsStartMenu.cs
- AllMembershipCondition.cs
- ReliableSessionBindingElement.cs
- DescendantQuery.cs
- KeyTime.cs
- SamlAttributeStatement.cs
- IisTraceListener.cs
- XmlCDATASection.cs
- FieldAccessException.cs
- Header.cs
- SqlSelectStatement.cs
- TextServicesDisplayAttribute.cs
- ObfuscationAttribute.cs
- InArgument.cs
- ILGenerator.cs
- TemplateInstanceAttribute.cs
- SqlInternalConnectionSmi.cs
- ResourceReferenceExpressionConverter.cs
- UriScheme.cs
- AccessDataSourceView.cs
- SoapMessage.cs
- Hyperlink.cs
- Inflater.cs
- HttpRequestCacheValidator.cs
- DetailsView.cs
- OptimalBreakSession.cs
- QueueProcessor.cs
- SizeFConverter.cs
- ColorMatrix.cs
- DoubleLinkListEnumerator.cs
- FileStream.cs
- MediaEntryAttribute.cs
- HScrollProperties.cs
- DesignerHierarchicalDataSourceView.cs
- OdbcHandle.cs
- RNGCryptoServiceProvider.cs
- Knowncolors.cs
- ScriptManagerProxy.cs
- StylusPointDescription.cs
- RouteItem.cs
- Decoder.cs
- Missing.cs
- ObjectPersistData.cs
- BooleanExpr.cs
- EncodingStreamWrapper.cs
- WebZone.cs
- XmlSchemaSimpleContentRestriction.cs
- documentsequencetextcontainer.cs
- PenContext.cs
- ColumnClickEvent.cs
- XPathSingletonIterator.cs
- ColorContext.cs
- SqlResolver.cs
- ApplicationFileParser.cs
- VoiceInfo.cs
- SqlClientWrapperSmiStream.cs
- SqlHelper.cs
- WindowsGraphicsWrapper.cs
- ZipIOExtraFieldElement.cs
- XhtmlBasicCalendarAdapter.cs
- StringSource.cs
- RealProxy.cs
- SiteMapDataSource.cs
- designeractionlistschangedeventargs.cs
- TextChange.cs
- InitializingNewItemEventArgs.cs
- NameValueConfigurationCollection.cs
- CollectionType.cs
- Rfc2898DeriveBytes.cs
- QueryConverter.cs
- RTLAwareMessageBox.cs
- objectquery_tresulttype.cs
- ImpersonationOption.cs
- XamlPointCollectionSerializer.cs
- XslException.cs
- EntityUtil.cs
- PointAnimationUsingKeyFrames.cs
- pingexception.cs
- _LocalDataStore.cs
- TagPrefixCollection.cs
- NavigatingCancelEventArgs.cs
- DbConnectionClosed.cs
- MessageEnumerator.cs
- SqlDataSourceEnumerator.cs
- AbstractSvcMapFileLoader.cs
- XmlWellformedWriter.cs
- TableSectionStyle.cs
- DynamicFilterExpression.cs
- DataGrid.cs
- SafeSecurityHelper.cs
- EntityDataSourceQueryBuilder.cs
- RuleRef.cs
- ZipFileInfoCollection.cs
- BindingExpressionUncommonField.cs
- DataConnectionHelper.cs
- SecurityTokenTypes.cs
- DesignSurfaceServiceContainer.cs
- Convert.cs