Code:
/ FX-1434 / FX-1434 / 1.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
- IntSecurity.cs
- XmlUrlResolver.cs
- BufferModeSettings.cs
- DateTimeOffset.cs
- SecurityDocument.cs
- ImageButton.cs
- HybridWebProxyFinder.cs
- RelationshipManager.cs
- SelectedCellsChangedEventArgs.cs
- activationcontext.cs
- _AuthenticationState.cs
- XsltSettings.cs
- BinaryCommonClasses.cs
- TrackingMemoryStreamFactory.cs
- FormsAuthenticationModule.cs
- GenericsInstances.cs
- DispatcherOperation.cs
- _Events.cs
- SQLUtility.cs
- TailCallAnalyzer.cs
- HttpModuleActionCollection.cs
- EventRouteFactory.cs
- Thickness.cs
- TreeViewImageIndexConverter.cs
- AttributeProviderAttribute.cs
- IEnumerable.cs
- CommonDialog.cs
- ElementProxy.cs
- QueryRewriter.cs
- ItemCheckedEvent.cs
- QilReplaceVisitor.cs
- DuplicateWaitObjectException.cs
- XmlSchemaNotation.cs
- StaticSiteMapProvider.cs
- CodeTypeDeclaration.cs
- DataBinding.cs
- CacheDict.cs
- ObfuscationAttribute.cs
- MarkupCompilePass2.cs
- XhtmlBasicLiteralTextAdapter.cs
- dsa.cs
- CodeCommentStatement.cs
- ResourcePart.cs
- WaitHandle.cs
- HierarchicalDataBoundControl.cs
- WriteableBitmap.cs
- AssemblyName.cs
- TextTreeFixupNode.cs
- Attributes.cs
- ConfigXmlCDataSection.cs
- WebZoneDesigner.cs
- XmlChildNodes.cs
- Utility.cs
- ResourceProviderFactory.cs
- OdbcConnectionOpen.cs
- Crc32.cs
- CroppedBitmap.cs
- ImmutableCommunicationTimeouts.cs
- XmlILStorageConverter.cs
- ReferenceEqualityComparer.cs
- ProfileServiceManager.cs
- OciLobLocator.cs
- ToolboxItemAttribute.cs
- UTF7Encoding.cs
- CodeTypeReference.cs
- ClientRuntimeConfig.cs
- TabControlCancelEvent.cs
- GPStream.cs
- CopyEncoder.cs
- PlanCompiler.cs
- FixedMaxHeap.cs
- RangeValidator.cs
- HttpListenerPrefixCollection.cs
- SynchronizationLockException.cs
- DragStartedEventArgs.cs
- XmlUTF8TextReader.cs
- TraceHandlerErrorFormatter.cs
- OutputCacheModule.cs
- ApplicationContext.cs
- _NetRes.cs
- _UriTypeConverter.cs
- ProfileGroupSettings.cs
- PropertyIDSet.cs
- AnnotationObservableCollection.cs
- Int16Storage.cs
- CodeTypeReferenceCollection.cs
- XmlMtomReader.cs
- FastEncoder.cs
- TextEditorThreadLocalStore.cs
- RuntimeArgumentHandle.cs
- KeyToListMap.cs
- TimeSpanParse.cs
- ConfigurationValue.cs
- MaskInputRejectedEventArgs.cs
- Cursors.cs
- GeometryCollection.cs
- CatalogPart.cs
- DocumentGrid.cs
- DataList.cs
- EntityStoreSchemaFilterEntry.cs