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
- ControlAdapter.cs
- ListControl.cs
- VariableQuery.cs
- EmptyStringExpandableObjectConverter.cs
- complextypematerializer.cs
- ImmutableObjectAttribute.cs
- EntityUtil.cs
- TextSerializer.cs
- SequentialUshortCollection.cs
- InputScopeConverter.cs
- OneOfElement.cs
- HttpRuntimeSection.cs
- ColorConvertedBitmap.cs
- DataGridSortingEventArgs.cs
- WpfSharedXamlSchemaContext.cs
- CodeFieldReferenceExpression.cs
- CodeObjectCreateExpression.cs
- InstanceCollisionException.cs
- MachineKeySection.cs
- ReflectTypeDescriptionProvider.cs
- WebPartEventArgs.cs
- OdbcConnection.cs
- FastEncoder.cs
- Encoder.cs
- COM2Enum.cs
- HttpConfigurationContext.cs
- GradientStopCollection.cs
- DateTimeOffsetAdapter.cs
- OrderedDictionary.cs
- BulletedListDesigner.cs
- UpdatePanelTriggerCollection.cs
- ToolStripDropDownClosingEventArgs.cs
- DataGridViewRowStateChangedEventArgs.cs
- IndexedGlyphRun.cs
- InputScope.cs
- EdmScalarPropertyAttribute.cs
- ThemeDirectoryCompiler.cs
- HashHelpers.cs
- CodeDirectoryCompiler.cs
- InstanceDescriptor.cs
- CellTreeNodeVisitors.cs
- WebPartHeaderCloseVerb.cs
- ProfessionalColorTable.cs
- DataGridCommandEventArgs.cs
- ViewManager.cs
- Guid.cs
- UrlMapping.cs
- MULTI_QI.cs
- TypeResolvingOptionsAttribute.cs
- ZoneMembershipCondition.cs
- XmlComment.cs
- GeometryCombineModeValidation.cs
- Types.cs
- LockedActivityGlyph.cs
- ResourceReferenceExpression.cs
- hresults.cs
- DataServiceProcessingPipelineEventArgs.cs
- ToolStripSeparatorRenderEventArgs.cs
- PowerStatus.cs
- EmptyEnumerator.cs
- FullTextBreakpoint.cs
- MasterPageParser.cs
- EventProviderWriter.cs
- ExpressionParser.cs
- TakeQueryOptionExpression.cs
- UTF32Encoding.cs
- ListViewItem.cs
- WebPartEditorOkVerb.cs
- SequentialWorkflowHeaderFooter.cs
- ProfileEventArgs.cs
- WebPartDisplayMode.cs
- HtmlTableCellCollection.cs
- ArgIterator.cs
- WebPartConnectionsCancelEventArgs.cs
- LicenseContext.cs
- StateItem.cs
- EmptyQuery.cs
- RbTree.cs
- BulletDecorator.cs
- SimpleMailWebEventProvider.cs
- WebBrowsableAttribute.cs
- ListArgumentProvider.cs
- PictureBox.cs
- FontFamily.cs
- CharEnumerator.cs
- OracleCommand.cs
- Slider.cs
- BehaviorEditorPart.cs
- PassportAuthenticationModule.cs
- CodePageUtils.cs
- BlurEffect.cs
- WmfPlaceableFileHeader.cs
- StringAnimationUsingKeyFrames.cs
- RelatedCurrencyManager.cs
- QuadraticEase.cs
- UInt32.cs
- TypedTableBaseExtensions.cs
- AutomationPattern.cs
- StreamingContext.cs
- InheritedPropertyChangedEventArgs.cs