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
- BufferedGraphics.cs
- KeySplineConverter.cs
- ReadWriteSpinLock.cs
- BitmapEffectInput.cs
- SuppressedPackageProperties.cs
- EntityCommandDefinition.cs
- PassportAuthentication.cs
- ViewGenerator.cs
- ValueHandle.cs
- Int32RectConverter.cs
- DataTableReaderListener.cs
- ChannelCacheDefaults.cs
- RecipientInfo.cs
- SubMenuStyleCollection.cs
- QuaternionValueSerializer.cs
- IIS7WorkerRequest.cs
- ObjectTag.cs
- StoreConnection.cs
- RoleGroupCollection.cs
- BatchParser.cs
- HostingEnvironment.cs
- TraceContextRecord.cs
- externdll.cs
- DataSourceControl.cs
- BasePattern.cs
- CqlLexer.cs
- RectangleGeometry.cs
- PageOutputQuality.cs
- Int32AnimationBase.cs
- Substitution.cs
- FastEncoder.cs
- _emptywebproxy.cs
- cookieexception.cs
- FolderBrowserDialog.cs
- ButtonChrome.cs
- DataTable.cs
- DataServiceHostFactory.cs
- DebugHandleTracker.cs
- UserPersonalizationStateInfo.cs
- TagElement.cs
- AspNetSynchronizationContext.cs
- UserControl.cs
- DesignerActionService.cs
- AssemblyBuilderData.cs
- SubqueryRules.cs
- ListViewSelectEventArgs.cs
- XsltContext.cs
- CompositeActivityCodeGenerator.cs
- BridgeDataReader.cs
- SecurityHelper.cs
- PolicyException.cs
- DefinitionProperties.cs
- RegistrySecurity.cs
- StandardCommandToolStripMenuItem.cs
- CalendarDay.cs
- SingleAnimationBase.cs
- HtmlTitle.cs
- MarshalByRefObject.cs
- BitStack.cs
- SpeechSeg.cs
- StrongNameHelpers.cs
- ModulesEntry.cs
- CompoundFileStorageReference.cs
- DomNameTable.cs
- SubpageParagraph.cs
- Page.cs
- ContractComponent.cs
- Compress.cs
- PriorityItem.cs
- LogArchiveSnapshot.cs
- WhileDesigner.cs
- EntryIndex.cs
- DataFormat.cs
- PermissionRequestEvidence.cs
- DataRowChangeEvent.cs
- Floater.cs
- WebPart.cs
- GeometryDrawing.cs
- LinearGradientBrush.cs
- BaseUriHelper.cs
- ShutDownListener.cs
- DataGridViewButtonColumn.cs
- RetriableClipboard.cs
- CustomPopupPlacement.cs
- PauseStoryboard.cs
- KoreanLunisolarCalendar.cs
- EntitySqlQueryCacheEntry.cs
- webbrowsersite.cs
- XmlSchema.cs
- __Filters.cs
- ToolStripItemClickedEventArgs.cs
- HostedNamedPipeTransportManager.cs
- TreeViewImageIndexConverter.cs
- ScopeElementCollection.cs
- EntityDataSourceContextCreatingEventArgs.cs
- PageThemeCodeDomTreeGenerator.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- XmlAnyAttributeAttribute.cs
- NativeMethodsOther.cs
- PhysicalFontFamily.cs