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
- Binding.cs
- WindowsGraphicsCacheManager.cs
- HyperLinkStyle.cs
- RequestTimeoutManager.cs
- LinearGradientBrush.cs
- MaxSessionCountExceededException.cs
- GlobalItem.cs
- SessionIDManager.cs
- ErrorWebPart.cs
- UidManager.cs
- CorrelationManager.cs
- ParallelEnumerableWrapper.cs
- InstancePersistenceEvent.cs
- AsyncContentLoadedEventArgs.cs
- XmlTypeMapping.cs
- AutoCompleteStringCollection.cs
- UserNamePasswordValidationMode.cs
- UpDownEvent.cs
- ResourcesBuildProvider.cs
- FontDriver.cs
- JoinElimination.cs
- PlacementWorkspace.cs
- BrowserCapabilitiesCompiler.cs
- VideoDrawing.cs
- XmlUtil.cs
- ConfigurationSettings.cs
- ZipIOLocalFileHeader.cs
- ColumnHeaderConverter.cs
- SchemaImporterExtensionsSection.cs
- UrlAuthorizationModule.cs
- ZipIOExtraFieldElement.cs
- AutoResetEvent.cs
- SizeValueSerializer.cs
- Image.cs
- CompileLiteralTextParser.cs
- MethodSet.cs
- SourceElementsCollection.cs
- ControlCommandSet.cs
- LiteralControl.cs
- TextMetrics.cs
- SafeRightsManagementHandle.cs
- SettingsPropertyWrongTypeException.cs
- CalendarDataBindingHandler.cs
- FilterUserControlBase.cs
- SapiAttributeParser.cs
- EnumConverter.cs
- TextEditorDragDrop.cs
- AudioException.cs
- StringKeyFrameCollection.cs
- EnumerableCollectionView.cs
- GridItemPatternIdentifiers.cs
- EventKeyword.cs
- ParameterCollection.cs
- StreamGeometry.cs
- StyleTypedPropertyAttribute.cs
- TransformCryptoHandle.cs
- StringFreezingAttribute.cs
- CapabilitiesPattern.cs
- RowToFieldTransformer.cs
- MLangCodePageEncoding.cs
- StoreContentChangedEventArgs.cs
- RoutedEventHandlerInfo.cs
- TransactionBehavior.cs
- HtmlTextArea.cs
- NumberFormatter.cs
- NavigationFailedEventArgs.cs
- DataGridView.cs
- PrivateFontCollection.cs
- SecurityPermission.cs
- TrustManager.cs
- ListViewUpdatedEventArgs.cs
- BinaryFormatter.cs
- HttpCookiesSection.cs
- UserControl.cs
- RsaSecurityToken.cs
- Convert.cs
- X509Utils.cs
- BrowserPolicyValidator.cs
- base64Transforms.cs
- Validator.cs
- DeclaredTypeElement.cs
- AuthenticationModulesSection.cs
- ConfigDefinitionUpdates.cs
- FunctionNode.cs
- IPipelineRuntime.cs
- BCryptNative.cs
- XmlSchemaComplexType.cs
- TagPrefixCollection.cs
- ProvidePropertyAttribute.cs
- Tuple.cs
- ProfileProvider.cs
- ButtonChrome.cs
- VBIdentifierName.cs
- RTTypeWrapper.cs
- List.cs
- HierarchicalDataTemplate.cs
- EncodingInfo.cs
- smtpconnection.cs
- TraceFilter.cs
- CollectionConverter.cs