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
- COM2Enum.cs
- ToolStripControlHost.cs
- ConfigDefinitionUpdates.cs
- ImageListUtils.cs
- ToolStripArrowRenderEventArgs.cs
- oledbmetadatacollectionnames.cs
- ClientApiGenerator.cs
- CaseStatementSlot.cs
- BitmapCodecInfoInternal.cs
- AutomationPropertyInfo.cs
- ImmutableDispatchRuntime.cs
- mediaclock.cs
- ServiceChannel.cs
- StreamResourceInfo.cs
- UnsafeNativeMethods.cs
- BuildDependencySet.cs
- Hyperlink.cs
- RelativeSource.cs
- EncryptedPackageFilter.cs
- LogLogRecordEnumerator.cs
- RecognizedWordUnit.cs
- BinaryObjectWriter.cs
- ImmutablePropertyDescriptorGridEntry.cs
- DoubleCollectionConverter.cs
- DataBoundControlAdapter.cs
- EmptyEnumerable.cs
- StatusBarPanel.cs
- IApplicationTrustManager.cs
- CollectionViewGroupInternal.cs
- MasterPageParser.cs
- ParserExtension.cs
- ScrollBar.cs
- BufferAllocator.cs
- OpenTypeMethods.cs
- AccessViolationException.cs
- EntityDataSourceSelectingEventArgs.cs
- ResourceProperty.cs
- DrawingImage.cs
- Activity.cs
- TriState.cs
- AsyncResult.cs
- PropertyGridEditorPart.cs
- Span.cs
- XmlSecureResolver.cs
- DateTimeConstantAttribute.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- XamlFilter.cs
- OdbcPermission.cs
- ToggleButtonAutomationPeer.cs
- GifBitmapDecoder.cs
- OneOfTypeConst.cs
- InkCanvasSelectionAdorner.cs
- DataGridHeaderBorder.cs
- PassportAuthenticationModule.cs
- FilteredDataSetHelper.cs
- IgnoreFileBuildProvider.cs
- TTSVoice.cs
- FlowDocumentReader.cs
- UpdateException.cs
- LoginView.cs
- DateTimeConverter2.cs
- TraceXPathNavigator.cs
- _DigestClient.cs
- Console.cs
- CodeExpressionStatement.cs
- HtmlControl.cs
- ExitEventArgs.cs
- XmlAnyElementAttributes.cs
- ContentPosition.cs
- OlePropertyStructs.cs
- ClientTarget.cs
- EventLogPermission.cs
- CodeAttributeDeclaration.cs
- DataGridViewButtonColumn.cs
- MasterPageCodeDomTreeGenerator.cs
- columnmapfactory.cs
- CompositionAdorner.cs
- PeekCompletedEventArgs.cs
- PropertyKey.cs
- IdentityHolder.cs
- ExpressionParser.cs
- GZipDecoder.cs
- PermissionToken.cs
- CodeDirectoryCompiler.cs
- ManagementEventWatcher.cs
- PropertyEmitterBase.cs
- GenericAuthenticationEventArgs.cs
- DetailsViewUpdatedEventArgs.cs
- CodeLinePragma.cs
- DispatcherProcessingDisabled.cs
- DoubleAnimationUsingKeyFrames.cs
- BufferModeSettings.cs
- HorizontalAlignConverter.cs
- WindowCollection.cs
- InstanceData.cs
- HostingPreferredMapPath.cs
- BitmapFrameDecode.cs
- SingleAnimationUsingKeyFrames.cs
- ValidatorCompatibilityHelper.cs
- Compilation.cs