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
- HostingEnvironment.cs
- HttpCookiesSection.cs
- XmlArrayAttribute.cs
- InvalidDocumentContentsException.cs
- FormView.cs
- InitializingNewItemEventArgs.cs
- ClientProxyGenerator.cs
- SessionMode.cs
- Comparer.cs
- MetadataCollection.cs
- CodeValidator.cs
- ClientTargetCollection.cs
- CommunicationObjectFaultedException.cs
- ListViewItemEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- TogglePattern.cs
- XPathSelfQuery.cs
- DecoderNLS.cs
- RegexTree.cs
- XmlElementCollection.cs
- ExpressionBindingsDialog.cs
- DebugView.cs
- RadialGradientBrush.cs
- PathData.cs
- ThicknessKeyFrameCollection.cs
- PersonalizationDictionary.cs
- GenericIdentity.cs
- RegexCaptureCollection.cs
- RegexCompilationInfo.cs
- BufferModesCollection.cs
- SafeSystemMetrics.cs
- DataGridViewComboBoxEditingControl.cs
- XmlSchemaRedefine.cs
- ImageDrawing.cs
- DictionaryBase.cs
- CachedTypeface.cs
- documentation.cs
- Expression.cs
- WrappedReader.cs
- Encoder.cs
- ArgumentException.cs
- NamedPipeAppDomainProtocolHandler.cs
- TraceContext.cs
- BindingExpression.cs
- BaseDataBoundControl.cs
- XmlSchemaRedefine.cs
- HttpCapabilitiesEvaluator.cs
- WebPartCatalogAddVerb.cs
- TextLineBreak.cs
- ServicePointManagerElement.cs
- GraphicsContext.cs
- HttpProtocolImporter.cs
- SRef.cs
- AtomServiceDocumentSerializer.cs
- ConfigurationSectionCollection.cs
- ResourceDictionaryCollection.cs
- XmlUtil.cs
- SqlRecordBuffer.cs
- ConnectionConsumerAttribute.cs
- SkipQueryOptionExpression.cs
- InvalidateEvent.cs
- SqlCommandSet.cs
- Preprocessor.cs
- InteropBitmapSource.cs
- LocalValueEnumerator.cs
- PolyQuadraticBezierSegment.cs
- RequestCachePolicy.cs
- WebSysDisplayNameAttribute.cs
- HitTestFilterBehavior.cs
- MethodCallTranslator.cs
- SequenceDesigner.cs
- EventProxy.cs
- remotingproxy.cs
- TabletDevice.cs
- DescendantOverDescendantQuery.cs
- Parameter.cs
- MeasureData.cs
- CustomWebEventKey.cs
- DynamicILGenerator.cs
- Point4D.cs
- DoubleAnimationUsingKeyFrames.cs
- LogReserveAndAppendState.cs
- SHA1Managed.cs
- SqlUdtInfo.cs
- IgnoreSection.cs
- SHA256Cng.cs
- Identifier.cs
- AvTraceDetails.cs
- TableAutomationPeer.cs
- XmlCodeExporter.cs
- RemotingConfigParser.cs
- ContractReference.cs
- PhysicalOps.cs
- DataGridViewSelectedCellCollection.cs
- Exceptions.cs
- ToolBarButtonClickEvent.cs
- DataGridViewComboBoxCell.cs
- SqlInternalConnection.cs
- PeerResolverSettings.cs
- TextModifier.cs