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
- DateTimeFormatInfoScanner.cs
- DoubleLinkList.cs
- IISMapPath.cs
- RadioButton.cs
- DialogWindow.cs
- DbParameterCollectionHelper.cs
- DataGridViewLayoutData.cs
- XhtmlTextWriter.cs
- OdbcReferenceCollection.cs
- SafeLocalMemHandle.cs
- TemplatedMailWebEventProvider.cs
- Normalization.cs
- DesignerListAdapter.cs
- ListManagerBindingsCollection.cs
- Publisher.cs
- FlowDocument.cs
- ActivityExecutionContext.cs
- MediaEntryAttribute.cs
- ValidationError.cs
- SiteMapHierarchicalDataSourceView.cs
- DetailsViewDeleteEventArgs.cs
- WebScriptEndpointElement.cs
- UnionExpr.cs
- TabItem.cs
- LinkedList.cs
- HierarchicalDataTemplate.cs
- ResourcePermissionBaseEntry.cs
- HostingEnvironmentWrapper.cs
- CompareInfo.cs
- OletxResourceManager.cs
- TimeSpanMinutesConverter.cs
- HashSetEqualityComparer.cs
- BufferedGraphics.cs
- Baml2006KnownTypes.cs
- DynamicPhysicalDiscoSearcher.cs
- EncryptedType.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SingletonConnectionReader.cs
- QueryComponents.cs
- MultiBinding.cs
- Errors.cs
- Listbox.cs
- JournalEntryListConverter.cs
- ProgressBarRenderer.cs
- InternalSafeNativeMethods.cs
- PointAnimationUsingPath.cs
- KeyedQueue.cs
- WorkflowDurableInstance.cs
- RegexReplacement.cs
- MemberInfoSerializationHolder.cs
- SinglePageViewer.cs
- IriParsingElement.cs
- MobilePage.cs
- IPAddress.cs
- Rect.cs
- TableParaClient.cs
- MessageSecurityVersionConverter.cs
- MenuItem.cs
- TypedLocationWrapper.cs
- FrameworkObject.cs
- QilTypeChecker.cs
- PathSegment.cs
- BuildResultCache.cs
- _IPv4Address.cs
- AbsoluteQuery.cs
- InteropBitmapSource.cs
- SaveFileDialog.cs
- WithStatement.cs
- XmlLinkedNode.cs
- C14NUtil.cs
- XmlName.cs
- CompletionProxy.cs
- ProjectionCamera.cs
- CompileLiteralTextParser.cs
- PolyQuadraticBezierSegment.cs
- GenerateTemporaryTargetAssembly.cs
- GetRecipientRequest.cs
- CommonRemoteMemoryBlock.cs
- DefaultTextStore.cs
- DataTableClearEvent.cs
- GeometryValueSerializer.cs
- SecurityElement.cs
- EncoderParameters.cs
- TextContainerHelper.cs
- RuleSettings.cs
- DetailsViewInsertedEventArgs.cs
- SplitContainerDesigner.cs
- IteratorFilter.cs
- InkPresenter.cs
- ObjectTypeMapping.cs
- ExceptionHandlersDesigner.cs
- Cursors.cs
- XmlSchemaAll.cs
- ControlAdapter.cs
- FacetChecker.cs
- AuthenticationConfig.cs
- GridViewColumnHeaderAutomationPeer.cs
- Sequence.cs
- Transform3DCollection.cs
- IPHostEntry.cs