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
- RectIndependentAnimationStorage.cs
- SocketException.cs
- InterleavedZipPartStream.cs
- XmlSchemaProviderAttribute.cs
- GenericRootAutomationPeer.cs
- LineMetrics.cs
- KeyValuePairs.cs
- InvalidOperationException.cs
- DatagridviewDisplayedBandsData.cs
- HandleRef.cs
- EUCJPEncoding.cs
- FileDetails.cs
- ConfigXmlText.cs
- GenericWebPart.cs
- LockedAssemblyCache.cs
- LayoutExceptionEventArgs.cs
- TextParaClient.cs
- TransactionProtocolConverter.cs
- SizeValueSerializer.cs
- ServiceThrottle.cs
- WindowsGrip.cs
- AppDomainAttributes.cs
- BasicCellRelation.cs
- _OSSOCK.cs
- EnumBuilder.cs
- Border.cs
- TemplateContentLoader.cs
- Int64AnimationUsingKeyFrames.cs
- WebPartConnectionsConnectVerb.cs
- SqlDataSourceConfigureFilterForm.cs
- Axis.cs
- HtmlTextViewAdapter.cs
- MemoryRecordBuffer.cs
- documentation.cs
- FormViewUpdatedEventArgs.cs
- commandenforcer.cs
- PersistenceException.cs
- MarkedHighlightComponent.cs
- BaseTemplatedMobileComponentEditor.cs
- ReadOnlyCollectionBuilder.cs
- TaiwanLunisolarCalendar.cs
- DbConnectionPoolGroupProviderInfo.cs
- AsynchronousChannel.cs
- BmpBitmapEncoder.cs
- XmlSchemaSequence.cs
- StylusPoint.cs
- TargetParameterCountException.cs
- AutomationEventArgs.cs
- IgnorePropertiesAttribute.cs
- ToolStripManager.cs
- ToolStripSplitStackLayout.cs
- WorkflowInstanceAbortedRecord.cs
- CompilerParameters.cs
- DBSqlParserTable.cs
- SimpleRecyclingCache.cs
- formatter.cs
- CollectionViewGroupRoot.cs
- DataPointer.cs
- WindowsMenu.cs
- KerberosTicketHashIdentifierClause.cs
- XmlNodeChangedEventArgs.cs
- ServiceModelDictionary.cs
- TypeProvider.cs
- OneWayBindingElement.cs
- SessionStateContainer.cs
- ObjectListFieldCollection.cs
- DbConnectionStringBuilder.cs
- TextSearch.cs
- DesignBinding.cs
- GZipDecoder.cs
- cookieexception.cs
- SamlConditions.cs
- RoutedEventHandlerInfo.cs
- SchemaTableOptionalColumn.cs
- ColumnHeader.cs
- ToolStripPanel.cs
- SynchronizationContext.cs
- DescriptionAttribute.cs
- SortQuery.cs
- OracleRowUpdatedEventArgs.cs
- SocketStream.cs
- Control.cs
- FixedPosition.cs
- WinFormsComponentEditor.cs
- WmlTextViewAdapter.cs
- EncoderBestFitFallback.cs
- ConfigurationSchemaErrors.cs
- OutputCacheSettings.cs
- NameValueSectionHandler.cs
- NavigationHelper.cs
- GenericUriParser.cs
- _HeaderInfoTable.cs
- VerticalAlignConverter.cs
- AddInEnvironment.cs
- ItemType.cs
- QueueTransferProtocol.cs
- ToolStripPanel.cs
- HttpServerChannel.cs
- IgnoreFileBuildProvider.cs
- InsufficientMemoryException.cs