Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ToolBarButtonClickEvent.cs / 1 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AspNetHostingPermission.cs
- ContentPlaceHolderDesigner.cs
- PassportIdentity.cs
- ClientRuntimeConfig.cs
- SqlConnectionPoolProviderInfo.cs
- BaseDataListDesigner.cs
- ProfileBuildProvider.cs
- ColumnCollection.cs
- FrameworkContentElement.cs
- SqlBuffer.cs
- LayoutTableCell.cs
- SamlAction.cs
- QuadTree.cs
- RoleManagerModule.cs
- Panel.cs
- FrameworkElementAutomationPeer.cs
- SrgsDocumentParser.cs
- WindowsBrush.cs
- CopyNodeSetAction.cs
- ModelItemCollection.cs
- Compiler.cs
- MissingFieldException.cs
- Clause.cs
- Random.cs
- VectorValueSerializer.cs
- WebBrowserProgressChangedEventHandler.cs
- Html32TextWriter.cs
- ContentTextAutomationPeer.cs
- HttpHandlersSection.cs
- PageEventArgs.cs
- FixedFlowMap.cs
- ToolStripArrowRenderEventArgs.cs
- MailAddress.cs
- JpegBitmapEncoder.cs
- PageRequestManager.cs
- SchemaEntity.cs
- BaseAsyncResult.cs
- Material.cs
- MiniCustomAttributeInfo.cs
- IntSecurity.cs
- CanonicalXml.cs
- StateMachineSubscription.cs
- ProfileService.cs
- SiteMapDataSourceView.cs
- MD5CryptoServiceProvider.cs
- SystemIcons.cs
- Metafile.cs
- Tokenizer.cs
- XamlPointCollectionSerializer.cs
- BindingManagerDataErrorEventArgs.cs
- SqlCachedBuffer.cs
- HttpListenerElement.cs
- IndependentAnimationStorage.cs
- HealthMonitoringSectionHelper.cs
- Material.cs
- TextEditor.cs
- WebAdminConfigurationHelper.cs
- XmlNodeChangedEventArgs.cs
- HttpContext.cs
- ProcessHostMapPath.cs
- CngProperty.cs
- ImageKeyConverter.cs
- DataGridViewElement.cs
- InfoCardServiceInstallComponent.cs
- DataPagerFieldCollection.cs
- HttpStreams.cs
- AddInControllerImpl.cs
- ToolStripButton.cs
- Attributes.cs
- SymLanguageType.cs
- WebBrowser.cs
- MessageSmuggler.cs
- SqlStream.cs
- CatalogZoneDesigner.cs
- CheckBoxPopupAdapter.cs
- DataSysAttribute.cs
- ExtendedProtectionPolicyElement.cs
- CodeTypeConstructor.cs
- DocumentGridContextMenu.cs
- ScriptingWebServicesSectionGroup.cs
- FigureParaClient.cs
- StringStorage.cs
- HtmlInputButton.cs
- NaturalLanguageHyphenator.cs
- BulletedList.cs
- ListChunk.cs
- shaperfactoryquerycachekey.cs
- XPathNode.cs
- COM2ExtendedBrowsingHandler.cs
- UserControl.cs
- WindowsNonControl.cs
- SafeBitVector32.cs
- WorkflowServiceHost.cs
- MaskedTextBoxTextEditorDropDown.cs
- ReadOnlyCollection.cs
- CodeGroup.cs
- WithStatement.cs
- ForceCopyBuildProvider.cs
- Touch.cs
- ProfileGroupSettings.cs