Code:
/ FX-1434 / FX-1434 / 1.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
- LinqDataSourceSelectEventArgs.cs
- MulticastDelegate.cs
- PhysicalAddress.cs
- URI.cs
- DependencyPropertyConverter.cs
- TimeSpanStorage.cs
- CapabilitiesSection.cs
- QilInvoke.cs
- FontCacheUtil.cs
- StorageMappingFragment.cs
- TextElement.cs
- NetworkInterface.cs
- RolePrincipal.cs
- ForeignKeyConstraint.cs
- ContextStack.cs
- QueryTask.cs
- XmlReturnWriter.cs
- FramingChannels.cs
- DeclarativeCatalogPart.cs
- ThumbButtonInfo.cs
- ProcessModule.cs
- Formatter.cs
- ISessionStateStore.cs
- COM2IDispatchConverter.cs
- Wizard.cs
- SQLSingle.cs
- XmlEnumAttribute.cs
- SHA512Managed.cs
- XAMLParseException.cs
- PrivilegeNotHeldException.cs
- DataObject.cs
- LinkButton.cs
- MimeObjectFactory.cs
- FrameworkElement.cs
- XmlElementAttributes.cs
- DeviceContext.cs
- DecryptedHeader.cs
- Bits.cs
- PrivilegeNotHeldException.cs
- FileFormatException.cs
- ConnectionPointCookie.cs
- ValidatingPropertiesEventArgs.cs
- CommandValueSerializer.cs
- CompiledXpathExpr.cs
- XmlSchemaObjectCollection.cs
- DataGridTextColumn.cs
- StringPropertyBuilder.cs
- MinimizableAttributeTypeConverter.cs
- StaticContext.cs
- Main.cs
- CustomAttributeFormatException.cs
- DataGridColumn.cs
- TextShapeableCharacters.cs
- StorageModelBuildProvider.cs
- FactoryGenerator.cs
- CodeCommentStatementCollection.cs
- QilChoice.cs
- HttpSessionStateWrapper.cs
- FrameworkObject.cs
- DesignRelationCollection.cs
- CodeDesigner.cs
- ModuleBuilderData.cs
- counter.cs
- ConfigurationConverterBase.cs
- GridEntryCollection.cs
- EditingCoordinator.cs
- Clipboard.cs
- TextParaClient.cs
- NamespaceList.cs
- LineUtil.cs
- FieldAccessException.cs
- RawAppCommandInputReport.cs
- IntSecurity.cs
- OdbcConnectionStringbuilder.cs
- ReadOnlyDataSource.cs
- ExeContext.cs
- VisualStateManager.cs
- OdbcEnvironmentHandle.cs
- InputLanguageManager.cs
- log.cs
- HashRepartitionStream.cs
- ConfigurationElementCollection.cs
- ResourceAttributes.cs
- GridViewSortEventArgs.cs
- LinqExpressionNormalizer.cs
- WindowsListViewItemStartMenu.cs
- ToolTip.cs
- MeshGeometry3D.cs
- AVElementHelper.cs
- Rotation3DKeyFrameCollection.cs
- VirtualDirectoryMapping.cs
- VarRemapper.cs
- Type.cs
- querybuilder.cs
- InsufficientMemoryException.cs
- ControlDesigner.cs
- CallContext.cs
- NameSpaceExtractor.cs
- XmlSchemaIdentityConstraint.cs
- RightsManagementEncryptionTransform.cs