Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolBarButtonClickEvent.cs / 1305376 / ToolBarButtonClickEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.Drawing;
using System.ComponentModel;
using Microsoft.Win32;
///
///
///
/// Provides data for the
/// event.
///
///
public class ToolBarButtonClickEventArgs : EventArgs {
private ToolBarButton button;
///
///
///
/// Initializes a new instance of the
/// class.
///
///
public ToolBarButtonClickEventArgs(ToolBarButton button) {
this.button = button;
}
///
///
///
/// Specifies the
/// that was clicked.
///
///
public ToolBarButton Button {
get { return button;}
set { button = value;}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.Drawing;
using System.ComponentModel;
using Microsoft.Win32;
///
///
///
/// Provides data for the
/// event.
///
///
public class ToolBarButtonClickEventArgs : EventArgs {
private ToolBarButton button;
///
///
///
/// Initializes a new instance of the
/// class.
///
///
public ToolBarButtonClickEventArgs(ToolBarButton button) {
this.button = button;
}
///
///
///
/// Specifies the
/// that was clicked.
///
///
public ToolBarButton Button {
get { return button;}
set { button = value;}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SearchExpression.cs
- MissingMethodException.cs
- SettingsAttributes.cs
- MimeMultiPart.cs
- ApplicationTrust.cs
- FixUp.cs
- TemplateComponentConnector.cs
- LiteralControl.cs
- DataGridViewRowConverter.cs
- ToolZone.cs
- DBPropSet.cs
- ListChunk.cs
- ITextView.cs
- InitializationEventAttribute.cs
- Matrix3D.cs
- CellTreeNode.cs
- DataGridColumn.cs
- PropertyInformationCollection.cs
- ResourceContainer.cs
- KnownAssembliesSet.cs
- NavigationHelper.cs
- OutputCacheSettings.cs
- TextDecorationCollectionConverter.cs
- ConfigurationSchemaErrors.cs
- AtomServiceDocumentSerializer.cs
- SvcFileManager.cs
- TrackingParameters.cs
- ValidationErrorEventArgs.cs
- BaseDataBoundControl.cs
- AttributeCollection.cs
- InfocardExtendedInformationCollection.cs
- TypographyProperties.cs
- EndpointDispatcher.cs
- UseAttributeSetsAction.cs
- ProcessRequestArgs.cs
- UInt16Storage.cs
- XmlDocument.cs
- DataSpaceManager.cs
- AtomEntry.cs
- LayeredChannelFactory.cs
- StateDesigner.CommentLayoutGlyph.cs
- Resources.Designer.cs
- VirtualPathExtension.cs
- StyleBamlTreeBuilder.cs
- RsaEndpointIdentity.cs
- ApplicationId.cs
- XDeferredAxisSource.cs
- Config.cs
- StandardCommands.cs
- Crypto.cs
- DataPagerFieldItem.cs
- FontFamilyConverter.cs
- EpmContentDeSerializer.cs
- HttpDictionary.cs
- PriorityItem.cs
- PositiveTimeSpanValidatorAttribute.cs
- InputLangChangeRequestEvent.cs
- UIElement3DAutomationPeer.cs
- DataBoundControlDesigner.cs
- TransportListener.cs
- regiisutil.cs
- BeginSelectCardRequest.cs
- WebPartManager.cs
- BoundColumn.cs
- ObjectPersistData.cs
- ListItem.cs
- ArrayWithOffset.cs
- XmlChildEnumerator.cs
- HtmlElementErrorEventArgs.cs
- DurationConverter.cs
- ChtmlCalendarAdapter.cs
- safelinkcollection.cs
- PersonalizablePropertyEntry.cs
- InertiaTranslationBehavior.cs
- Calendar.cs
- NamespaceListProperty.cs
- XPathParser.cs
- MatrixAnimationUsingKeyFrames.cs
- TemplateApplicationHelper.cs
- SmiEventSink_Default.cs
- SerializationEventsCache.cs
- HitTestDrawingContextWalker.cs
- OleDbError.cs
- XamlStream.cs
- PerformanceCounterPermissionAttribute.cs
- SizeKeyFrameCollection.cs
- RelationshipSet.cs
- DataServiceRequestOfT.cs
- ScrollContentPresenter.cs
- RunInstallerAttribute.cs
- TextOnlyOutput.cs
- EntityContainerEmitter.cs
- BrowserCapabilitiesCodeGenerator.cs
- MetafileHeaderEmf.cs
- securitymgrsite.cs
- InfoCardCryptoHelper.cs
- SqlFlattener.cs
- XmlNullResolver.cs
- Choices.cs
- BitmapDecoder.cs