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
- BaseDataList.cs
- HtmlEncodedRawTextWriter.cs
- PartDesigner.cs
- UshortList2.cs
- Win32.cs
- SHA256Managed.cs
- SplayTreeNode.cs
- PublisherMembershipCondition.cs
- IISUnsafeMethods.cs
- TimeEnumHelper.cs
- DoubleLinkList.cs
- SymLanguageVendor.cs
- Size3DConverter.cs
- PersonalizationProviderCollection.cs
- TrimSurroundingWhitespaceAttribute.cs
- IEnumerable.cs
- GridView.cs
- TrackingLocation.cs
- TypeExtensionConverter.cs
- FileChangesMonitor.cs
- InstanceDataCollectionCollection.cs
- xml.cs
- TypeInitializationException.cs
- ColorDialog.cs
- smtpconnection.cs
- ProcessThreadCollection.cs
- EditorZone.cs
- CharUnicodeInfo.cs
- MemberCollection.cs
- DoubleKeyFrameCollection.cs
- RelatedPropertyManager.cs
- OutputScopeManager.cs
- SafeUserTokenHandle.cs
- localization.cs
- LineInfo.cs
- StringUtil.cs
- PerformanceCounterPermissionAttribute.cs
- Validator.cs
- AuthenticationService.cs
- DefaultMemberAttribute.cs
- NavigationHelper.cs
- WindowsScroll.cs
- DocumentApplicationState.cs
- ExpressionPrefixAttribute.cs
- DocumentXPathNavigator.cs
- PathSegment.cs
- DataPointer.cs
- CodeNamespaceImportCollection.cs
- ExpressionConverter.cs
- XamlRtfConverter.cs
- safesecurityhelperavalon.cs
- DesignerImageAdapter.cs
- ArgumentElement.cs
- TypeGeneratedEventArgs.cs
- BuildProviderAppliesToAttribute.cs
- x509utils.cs
- RuleInfoComparer.cs
- MaterialGroup.cs
- MarshalByValueComponent.cs
- ProxyDataContractResolver.cs
- MissingMethodException.cs
- DeploymentSection.cs
- COM2FontConverter.cs
- SQLDecimalStorage.cs
- XmlEntityReference.cs
- MailWriter.cs
- ImageDrawing.cs
- StaticResourceExtension.cs
- HtmlInputPassword.cs
- TableItemProviderWrapper.cs
- GC.cs
- DataControlButton.cs
- QuaternionConverter.cs
- AutoResizedEvent.cs
- CodeTypeMemberCollection.cs
- DetailsViewUpdatedEventArgs.cs
- PipeStream.cs
- TreeNodeCollection.cs
- LinqDataSourceStatusEventArgs.cs
- Enum.cs
- AccessText.cs
- Queue.cs
- GlobalProxySelection.cs
- StylusTip.cs
- BlobPersonalizationState.cs
- SystemException.cs
- ValueProviderWrapper.cs
- NameValueSectionHandler.cs
- PropertyDescriptorGridEntry.cs
- SqlOuterApplyReducer.cs
- DelegatingMessage.cs
- EdmType.cs
- GregorianCalendar.cs
- XmlConverter.cs
- StreamWithDictionary.cs
- Rectangle.cs
- templategroup.cs
- DesignerGenericWebPart.cs
- ConfigPathUtility.cs
- GeneralTransform3DCollection.cs