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
- ApplicationId.cs
- CodeEntryPointMethod.cs
- TypeDependencyAttribute.cs
- EntityViewGenerationConstants.cs
- ThemeDictionaryExtension.cs
- TemplatePropertyEntry.cs
- InstalledFontCollection.cs
- ComAdminWrapper.cs
- Contracts.cs
- SharedPersonalizationStateInfo.cs
- AudioBase.cs
- SessionParameter.cs
- TabItem.cs
- XmlNamespaceMappingCollection.cs
- TableLayout.cs
- PaperSize.cs
- DesignerTransaction.cs
- DictionaryEntry.cs
- recordstatescratchpad.cs
- Brush.cs
- XPathNodeHelper.cs
- GPPOINTF.cs
- MultiPageTextView.cs
- SuppressMessageAttribute.cs
- LineServicesCallbacks.cs
- FilteredSchemaElementLookUpTable.cs
- DataGridViewButtonCell.cs
- RegexCharClass.cs
- TreeViewAutomationPeer.cs
- InvalidComObjectException.cs
- MaskedTextProvider.cs
- RegexCompilationInfo.cs
- SymLanguageType.cs
- WebServiceClientProxyGenerator.cs
- SingleObjectCollection.cs
- RsaSecurityKey.cs
- TreeNodeBinding.cs
- Latin1Encoding.cs
- Win32.cs
- TextBreakpoint.cs
- XmlEventCache.cs
- DataSourceHelper.cs
- cookieexception.cs
- UserMapPath.cs
- OutgoingWebRequestContext.cs
- DetailsViewRowCollection.cs
- ToolStripContainer.cs
- DataGridCheckBoxColumn.cs
- DataGridGeneralPage.cs
- WindowsBrush.cs
- PropertyItem.cs
- CommandSet.cs
- ToolStripGrip.cs
- OutputCacheSettingsSection.cs
- QueueNameHelper.cs
- CrossSiteScriptingValidation.cs
- GetParentChain.cs
- UserNameSecurityToken.cs
- _SslStream.cs
- PenThreadWorker.cs
- MemoryStream.cs
- LayoutManager.cs
- GroupQuery.cs
- GlyphTypeface.cs
- DockPattern.cs
- ListViewContainer.cs
- SctClaimSerializer.cs
- MappingSource.cs
- UserInitiatedNavigationPermission.cs
- WpfKnownMember.cs
- DefaultEventAttribute.cs
- ProxySimple.cs
- BuildProviderCollection.cs
- XmlSortKeyAccumulator.cs
- OperationAbortedException.cs
- MimeMultiPart.cs
- MappingModelBuildProvider.cs
- FakeModelItemImpl.cs
- NativeMethods.cs
- CustomBinding.cs
- CompilationLock.cs
- SerializationObjectManager.cs
- MetadataUtil.cs
- DrawingImage.cs
- MessageSmuggler.cs
- EndpointAddress.cs
- List.cs
- Brush.cs
- ProjectionCamera.cs
- PopOutPanel.cs
- ChannelParameterCollection.cs
- HideDisabledControlAdapter.cs
- HtmlTernaryTree.cs
- WindowsGraphicsCacheManager.cs
- Descriptor.cs
- LineGeometry.cs
- SymbolMethod.cs
- MembershipUser.cs
- CodeChecksumPragma.cs
- FormsAuthentication.cs