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
- FormsAuthenticationUserCollection.cs
- ApplicationActivator.cs
- AddInToken.cs
- SigningProgress.cs
- FontStretch.cs
- RegisteredHiddenField.cs
- MessageSmuggler.cs
- PropertyDescriptorComparer.cs
- CompiledIdentityConstraint.cs
- HtmlToClrEventProxy.cs
- ReferencedAssembly.cs
- MenuCommand.cs
- X509UI.cs
- SQLInt64.cs
- StaticExtensionConverter.cs
- InvokeGenerator.cs
- GeometryCollection.cs
- WebBrowser.cs
- COM2PropertyDescriptor.cs
- DataTransferEventArgs.cs
- SerializerDescriptor.cs
- Tokenizer.cs
- DesignerCalendarAdapter.cs
- ObjectDataSourceSelectingEventArgs.cs
- KeyboardEventArgs.cs
- SelectionEditor.cs
- CompensateDesigner.cs
- ImageSource.cs
- GlyphInfoList.cs
- SimpleMailWebEventProvider.cs
- StylusPointCollection.cs
- _RequestLifetimeSetter.cs
- TimelineCollection.cs
- RequiredFieldValidator.cs
- ClientOptions.cs
- NativeRightsManagementAPIsStructures.cs
- FatalException.cs
- StreamWriter.cs
- SerializationStore.cs
- Instrumentation.cs
- GenericUriParser.cs
- ClientScriptManagerWrapper.cs
- Interlocked.cs
- LowerCaseStringConverter.cs
- NativeRecognizer.cs
- ItemDragEvent.cs
- TextParagraphProperties.cs
- DataFormat.cs
- JsonQNameDataContract.cs
- GridViewRowCollection.cs
- PeerPresenceInfo.cs
- DesignerActionTextItem.cs
- HttpContextServiceHost.cs
- TiffBitmapDecoder.cs
- ReadContentAsBinaryHelper.cs
- __Error.cs
- DecoderFallback.cs
- WebConfigurationFileMap.cs
- TransactionManager.cs
- BrowserDefinition.cs
- ErrorLog.cs
- MinimizableAttributeTypeConverter.cs
- DataControlLinkButton.cs
- DocumentViewerConstants.cs
- DbParameterCollectionHelper.cs
- BaseCollection.cs
- CursorInteropHelper.cs
- CodeExpressionCollection.cs
- ArglessEventHandlerProxy.cs
- SqlDataSourceCommandParser.cs
- FunctionDetailsReader.cs
- AssemblyAttributes.cs
- InputLanguage.cs
- TemplateBuilder.cs
- System.Data_BID.cs
- ToolStripItemRenderEventArgs.cs
- MetadataHelper.cs
- ProcessManager.cs
- QualifiedCellIdBoolean.cs
- AdPostCacheSubstitution.cs
- EncryptRequest.cs
- EdmTypeAttribute.cs
- SessionState.cs
- Point3DAnimationBase.cs
- TimeIntervalCollection.cs
- SoapClientMessage.cs
- CloseCollectionAsyncResult.cs
- ObjectDataSourceEventArgs.cs
- DCSafeHandle.cs
- ModuleBuilderData.cs
- ToolStripOverflowButton.cs
- EventSourceCreationData.cs
- TabletCollection.cs
- TableStyle.cs
- NamespaceDisplay.xaml.cs
- WebPartMenuStyle.cs
- ElementUtil.cs
- PassportAuthenticationModule.cs
- SchemaTableColumn.cs
- RegistryDataKey.cs