Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / MenuCommandsChangedEventArgs.cs / 1 / MenuCommandsChangedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design { using System.ComponentModel; using System; using Microsoft.Win32; ////// /// This EventArgs class is used by the MenuCommandService to signify /// that there has been a change in MenuCommands (added or removed) /// on the related object. /// [System.Runtime.InteropServices.ComVisible(true)] public class MenuCommandsChangedEventArgs : EventArgs { private MenuCommand command; private MenuCommandsChangedType changeType;//type of change ////// /// Constructor that requires the object in question, the type of change /// and the remaining commands left for the object. "command" can be null /// to signify multiple commands changed at once. /// public MenuCommandsChangedEventArgs(MenuCommandsChangedType changeType, MenuCommand command) { this.changeType = changeType; this.command = command; } ////// /// The type of changed that caused the related event /// to be thrown. /// public MenuCommandsChangedType ChangeType { get { return changeType; } } ////// /// The command that was added/removed/changed. This can be null if more than one command changed at once. /// public MenuCommand Command { get { return command; } } } } // 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
- WebFormDesignerActionService.cs
- TextProviderWrapper.cs
- DBSqlParserColumn.cs
- Codec.cs
- SqlRowUpdatedEvent.cs
- XmlSchemaSimpleTypeUnion.cs
- GridSplitterAutomationPeer.cs
- AnchoredBlock.cs
- DataSourceComponent.cs
- LifetimeMonitor.cs
- Barrier.cs
- Odbc32.cs
- WebHttpBehavior.cs
- XmlnsCache.cs
- TextDecoration.cs
- DecoratedNameAttribute.cs
- DefaultProxySection.cs
- FileAuthorizationModule.cs
- TemplatedAdorner.cs
- ConstructorArgumentAttribute.cs
- CoreSwitches.cs
- TransformGroup.cs
- DetailsViewRow.cs
- DataTableExtensions.cs
- Column.cs
- BindingsCollection.cs
- MILUtilities.cs
- PingOptions.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- FormViewRow.cs
- FileFormatException.cs
- XmlImplementation.cs
- XslCompiledTransform.cs
- AesCryptoServiceProvider.cs
- ReceiveMessageContent.cs
- WindowsListViewGroupHelper.cs
- RequestUriProcessor.cs
- DesignerDataColumn.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ComponentEvent.cs
- DataConnectionHelper.cs
- ErrorHandler.cs
- DocumentViewerBaseAutomationPeer.cs
- DataGridViewButtonCell.cs
- XmlSchemaSubstitutionGroup.cs
- InternalControlCollection.cs
- LineBreak.cs
- FocusWithinProperty.cs
- MailAddress.cs
- AnimationException.cs
- RequestCacheManager.cs
- _Events.cs
- RegexGroup.cs
- IndependentAnimationStorage.cs
- WorkflowEnvironment.cs
- CustomAttributeBuilder.cs
- MachineKey.cs
- CacheRequest.cs
- XmlNamespaceManager.cs
- Application.cs
- DateRangeEvent.cs
- ProvideValueServiceProvider.cs
- DiscoveryReferences.cs
- OciLobLocator.cs
- ChineseLunisolarCalendar.cs
- ListViewPagedDataSource.cs
- TextRangeAdaptor.cs
- PeerNameResolver.cs
- clipboard.cs
- SystemInfo.cs
- BitmapDecoder.cs
- ChannelFactory.cs
- TraceHelpers.cs
- PenLineCapValidation.cs
- Ppl.cs
- TabItemWrapperAutomationPeer.cs
- PropertyConverter.cs
- BufferAllocator.cs
- TextEffect.cs
- StrokeCollectionConverter.cs
- Win32KeyboardDevice.cs
- StructuredTypeInfo.cs
- XmlCharacterData.cs
- AttachedAnnotationChangedEventArgs.cs
- PointHitTestResult.cs
- DataGridViewButtonColumn.cs
- EtwTrace.cs
- EventOpcode.cs
- X509CertificateRecipientServiceCredential.cs
- NoneExcludedImageIndexConverter.cs
- OperationAbortedException.cs
- DtdParser.cs
- ExpressionConverter.cs
- LineProperties.cs
- StringKeyFrameCollection.cs
- BooleanToVisibilityConverter.cs
- DesignTimeTemplateParser.cs
- ServiceRoute.cs
- AttachInfo.cs
- ComplexTypeEmitter.cs