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
- HttpClientProtocol.cs
- SqlBinder.cs
- MouseActionConverter.cs
- shaperfactory.cs
- SafeTimerHandle.cs
- GridViewColumn.cs
- TypeCodeDomSerializer.cs
- LinkLabelLinkClickedEvent.cs
- MetadataException.cs
- PasswordDeriveBytes.cs
- ClientUIRequest.cs
- HttpCacheVary.cs
- SizeConverter.cs
- X509RawDataKeyIdentifierClause.cs
- HintTextConverter.cs
- SqlDataSource.cs
- PersonalizationProvider.cs
- PaperSize.cs
- FatalException.cs
- XmlSchemaAnnotated.cs
- EncoderFallback.cs
- Int32KeyFrameCollection.cs
- RepeatInfo.cs
- RefType.cs
- SoapObjectInfo.cs
- DataKeyCollection.cs
- DetailsViewUpdatedEventArgs.cs
- SchemaManager.cs
- FastEncoder.cs
- MessageQueuePermission.cs
- PartialCachingAttribute.cs
- CodeTypeDeclarationCollection.cs
- DateTime.cs
- SmiEventSink.cs
- NameService.cs
- Exceptions.cs
- DBAsyncResult.cs
- EmbeddedMailObjectsCollection.cs
- CacheOutputQuery.cs
- SourceItem.cs
- ElementHost.cs
- UnknownWrapper.cs
- CompilerParameters.cs
- AxHost.cs
- AssemblyInfo.cs
- IndexedString.cs
- CmsInterop.cs
- LocalBuilder.cs
- LayoutEditorPart.cs
- ReadWriteSpinLock.cs
- GeneralTransform3DGroup.cs
- Oid.cs
- Polyline.cs
- MetricEntry.cs
- MSAAEventDispatcher.cs
- XamlHostingConfiguration.cs
- ListViewCommandEventArgs.cs
- MdiWindowListItemConverter.cs
- SafePEFileHandle.cs
- BindingSource.cs
- SelectorItemAutomationPeer.cs
- ArcSegment.cs
- AbandonedMutexException.cs
- baseaxisquery.cs
- SqlBuilder.cs
- DataGridViewCell.cs
- CheckBoxBaseAdapter.cs
- ResetableIterator.cs
- X509CertificateCollection.cs
- XmlValueConverter.cs
- KeyConverter.cs
- DeflateStream.cs
- sqlser.cs
- TimeSpanOrInfiniteValidator.cs
- EventListener.cs
- PolicyChain.cs
- FileController.cs
- RSACryptoServiceProvider.cs
- ParameterToken.cs
- WsdlBuildProvider.cs
- DataListItemCollection.cs
- RSAPKCS1SignatureFormatter.cs
- PartialList.cs
- TreeIterator.cs
- MethodBuilder.cs
- PageParser.cs
- StreamInfo.cs
- SortedDictionary.cs
- VisualStyleRenderer.cs
- CharacterBuffer.cs
- MulticastDelegate.cs
- JoinCqlBlock.cs
- WrappedReader.cs
- MessageAction.cs
- HttpCookiesSection.cs
- RegisterResponseInfo.cs
- DBBindings.cs
- ToolStripInSituService.cs
- DataPagerField.cs
- StateItem.cs