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
- ToolStripScrollButton.cs
- GridViewUpdatedEventArgs.cs
- MdiWindowListStrip.cs
- XmlObjectSerializerReadContextComplex.cs
- SystemBrushes.cs
- TextEditorCopyPaste.cs
- OdbcFactory.cs
- TextDocumentView.cs
- StorageConditionPropertyMapping.cs
- CodeDomConfigurationHandler.cs
- ControlCachePolicy.cs
- DispatcherObject.cs
- ControlUtil.cs
- DataGridViewSelectedCellCollection.cs
- HMACSHA256.cs
- DateRangeEvent.cs
- ArgumentsParser.cs
- BaseServiceProvider.cs
- Thumb.cs
- SimpleMailWebEventProvider.cs
- Win32KeyboardDevice.cs
- AttributeData.cs
- NullableBoolConverter.cs
- RoleExceptions.cs
- EntitySqlQueryCacheKey.cs
- TextSelection.cs
- LoginUtil.cs
- XamlTreeBuilderBamlRecordWriter.cs
- XmlILStorageConverter.cs
- diagnosticsswitches.cs
- CatalogPartCollection.cs
- TextDecoration.cs
- OleDbConnection.cs
- UserControlAutomationPeer.cs
- Msec.cs
- IPAddressCollection.cs
- ResourceAttributes.cs
- RegistrySecurity.cs
- ExpressionConverter.cs
- ChildTable.cs
- PageBreakRecord.cs
- XmlHierarchicalDataSourceView.cs
- QueryableDataSourceEditData.cs
- ProviderConnectionPointCollection.cs
- RecognizerInfo.cs
- SmiEventSink_Default.cs
- QilName.cs
- BindableTemplateBuilder.cs
- HiddenFieldPageStatePersister.cs
- ITextView.cs
- _WebProxyDataBuilder.cs
- Rotation3D.cs
- ButtonFieldBase.cs
- TransformProviderWrapper.cs
- LoginName.cs
- RuntimeHelpers.cs
- DockPattern.cs
- Frame.cs
- BrowserDefinitionCollection.cs
- MessageLogger.cs
- PrivateFontCollection.cs
- DataServiceQueryContinuation.cs
- StateDesigner.CommentLayoutGlyph.cs
- ToolStripPanelDesigner.cs
- GZipDecoder.cs
- DbFunctionCommandTree.cs
- Substitution.cs
- AppSettingsReader.cs
- DrawListViewColumnHeaderEventArgs.cs
- TransferRequestHandler.cs
- Pts.cs
- GeometryCollection.cs
- MissingMemberException.cs
- XmlnsDictionary.cs
- LocalBuilder.cs
- PolicyLevel.cs
- OracleDataReader.cs
- SignalGate.cs
- ToolStripSettings.cs
- ExtensibleClassFactory.cs
- Tokenizer.cs
- StatusCommandUI.cs
- WebPartConnectionsCancelEventArgs.cs
- KeyInfo.cs
- WindowsListViewGroup.cs
- WebBrowser.cs
- JpegBitmapEncoder.cs
- IApplicationTrustManager.cs
- RSAOAEPKeyExchangeFormatter.cs
- AssemblyNameProxy.cs
- PageAdapter.cs
- StubHelpers.cs
- DbProviderFactories.cs
- CompilationUtil.cs
- TrackBarDesigner.cs
- HttpUnhandledOperationInvoker.cs
- UnicastIPAddressInformationCollection.cs
- Int16Animation.cs
- InstanceValue.cs
- ProjectionCamera.cs