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
- DocumentAutomationPeer.cs
- StorageEntityContainerMapping.cs
- BeginStoryboard.cs
- ScrollItemProviderWrapper.cs
- AsyncCompletedEventArgs.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- FormViewUpdatedEventArgs.cs
- RightsManagementPermission.cs
- SoapConverter.cs
- formatstringdialog.cs
- Quaternion.cs
- ListViewSortEventArgs.cs
- IsolatedStoragePermission.cs
- AsymmetricKeyExchangeFormatter.cs
- ProcessThread.cs
- QueryGenerator.cs
- DescendantOverDescendantQuery.cs
- ButtonChrome.cs
- ChangePassword.cs
- MsmqInputSessionChannelListener.cs
- BindingSource.cs
- HatchBrush.cs
- PassportIdentity.cs
- ResourceReferenceExpressionConverter.cs
- TriggerAction.cs
- smtppermission.cs
- ControlBindingsConverter.cs
- Schema.cs
- DecimalFormatter.cs
- StructuredProperty.cs
- CanonicalFormWriter.cs
- BaseCAMarshaler.cs
- ProvideValueServiceProvider.cs
- SqlMethods.cs
- SiteMapHierarchicalDataSourceView.cs
- CharacterString.cs
- SingleAnimation.cs
- TextServicesPropertyRanges.cs
- WebServiceTypeData.cs
- BitmapCodecInfo.cs
- RequestResizeEvent.cs
- StylusPointDescription.cs
- EmptyReadOnlyDictionaryInternal.cs
- ImpersonationContext.cs
- ContentFileHelper.cs
- SetStoryboardSpeedRatio.cs
- TableStyle.cs
- OdbcError.cs
- Utils.cs
- HandlerBase.cs
- ListViewContainer.cs
- ResourceReferenceExpressionConverter.cs
- BitmapPalette.cs
- XmlSchemaAttributeGroup.cs
- Serializer.cs
- InvalidContentTypeException.cs
- XmlQueryRuntime.cs
- HelpEvent.cs
- HostingEnvironmentException.cs
- SmtpCommands.cs
- ServiceDesigner.cs
- EventEntry.cs
- TranslateTransform3D.cs
- SchemaAttDef.cs
- PerfService.cs
- WindowsListViewItem.cs
- DataContractAttribute.cs
- DeviceSpecificChoice.cs
- SoapConverter.cs
- FileSystemEnumerable.cs
- DBNull.cs
- OdbcParameter.cs
- handlecollector.cs
- FigureParaClient.cs
- Debug.cs
- StateWorkerRequest.cs
- PeerUnsafeNativeCryptMethods.cs
- ExtenderProviderService.cs
- SqlDependency.cs
- RegisteredDisposeScript.cs
- SizeKeyFrameCollection.cs
- HtmlTitle.cs
- WorkflowMarkupSerializationProvider.cs
- PartialArray.cs
- Compiler.cs
- TransformGroup.cs
- NotifyCollectionChangedEventArgs.cs
- URL.cs
- RequiredAttributeAttribute.cs
- ConfigurationFileMap.cs
- GeneralTransform2DTo3DTo2D.cs
- PointAnimationUsingPath.cs
- EditorAttribute.cs
- IDictionary.cs
- Setter.cs
- EmptyControlCollection.cs
- ConditionalAttribute.cs
- CompositionAdorner.cs
- ResolveNameEventArgs.cs
- GlyphsSerializer.cs