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
- BoundColumn.cs
- DataGridViewButtonColumn.cs
- ToolStripStatusLabel.cs
- InkCanvasSelectionAdorner.cs
- DataRecordInfo.cs
- SystemIPv4InterfaceProperties.cs
- Dictionary.cs
- Executor.cs
- controlskin.cs
- RelationshipEnd.cs
- OdbcInfoMessageEvent.cs
- ListViewTableCell.cs
- ArgumentNullException.cs
- UIElementAutomationPeer.cs
- SettingsSection.cs
- _ProxyChain.cs
- HostProtectionException.cs
- ControlValuePropertyAttribute.cs
- SplayTreeNode.cs
- DescendentsWalkerBase.cs
- Compensate.cs
- TextServicesPropertyRanges.cs
- SingleResultAttribute.cs
- ImageSource.cs
- RegexWorker.cs
- DataGridViewCellCancelEventArgs.cs
- TextBreakpoint.cs
- DocumentSchemaValidator.cs
- NegationPusher.cs
- GlobalAllocSafeHandle.cs
- WeakHashtable.cs
- StateChangeEvent.cs
- ControlCommandSet.cs
- EncoderExceptionFallback.cs
- TokenBasedSetEnumerator.cs
- CollectionDataContractAttribute.cs
- XmlnsCache.cs
- _SSPIWrapper.cs
- TextTabProperties.cs
- FormsAuthenticationCredentials.cs
- Clock.cs
- Point4DValueSerializer.cs
- WindowsIdentity.cs
- FixedSOMLineCollection.cs
- DatePickerTextBox.cs
- InitializationEventAttribute.cs
- TypefaceCollection.cs
- Scripts.cs
- XmlSchemaInfo.cs
- StaticFileHandler.cs
- DataRelationCollection.cs
- XmlAttributeOverrides.cs
- RootBrowserWindowAutomationPeer.cs
- Imaging.cs
- diagnosticsswitches.cs
- CategoryGridEntry.cs
- DataTableCollection.cs
- HandledMouseEvent.cs
- ResumeStoryboard.cs
- DoubleLinkList.cs
- GradientStopCollection.cs
- Italic.cs
- Int16Animation.cs
- DesignerTransaction.cs
- coordinatorscratchpad.cs
- MaskedTextBox.cs
- PointAnimationUsingPath.cs
- IODescriptionAttribute.cs
- SByteConverter.cs
- TextDecorationUnitValidation.cs
- DataControlFieldCell.cs
- ParameterCollection.cs
- Wizard.cs
- ExtendedPropertyInfo.cs
- HTMLTagNameToTypeMapper.cs
- HyperLinkColumn.cs
- CoreChannel.cs
- HttpProfileBase.cs
- CompatibleIComparer.cs
- WorkflowViewElement.cs
- VectorAnimationUsingKeyFrames.cs
- SecurityTokenValidationException.cs
- DataBindingCollection.cs
- NewExpression.cs
- EdmScalarPropertyAttribute.cs
- TrustSection.cs
- ArcSegment.cs
- FrameSecurityDescriptor.cs
- SQLBytes.cs
- MdImport.cs
- DbConnectionClosed.cs
- ResourceReferenceKeyNotFoundException.cs
- DataControlButton.cs
- TableLayoutStyle.cs
- SqlDependencyListener.cs
- ResetableIterator.cs
- SelfIssuedAuthRSACryptoProvider.cs
- _UriTypeConverter.cs
- HttpConfigurationSystem.cs
- UnionCodeGroup.cs