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
- Point3DValueSerializer.cs
- CriticalExceptions.cs
- Point3DAnimation.cs
- Hashtable.cs
- MinimizableAttributeTypeConverter.cs
- ModelItem.cs
- EntityModelBuildProvider.cs
- EntryPointNotFoundException.cs
- XslAst.cs
- Size.cs
- PublisherMembershipCondition.cs
- HwndSourceParameters.cs
- ConnectionStringsSection.cs
- ImmutableObjectAttribute.cs
- Message.cs
- TypeUtils.cs
- DataListItem.cs
- GPPOINTF.cs
- CompleteWizardStep.cs
- CustomActivityDesigner.cs
- TextEncodedRawTextWriter.cs
- OwnerDrawPropertyBag.cs
- HttpHeaderCollection.cs
- TransformedBitmap.cs
- OutputScopeManager.cs
- ExtendedProtectionPolicyElement.cs
- DbConnectionPoolOptions.cs
- DnsEndpointIdentity.cs
- HttpCookieCollection.cs
- EventSourceCreationData.cs
- XdrBuilder.cs
- ProcessHostFactoryHelper.cs
- EntityParameterCollection.cs
- QilInvokeLateBound.cs
- cookiecontainer.cs
- EmptyEnumerable.cs
- DataGridViewTopLeftHeaderCell.cs
- OperationCanceledException.cs
- ChangeConflicts.cs
- GroupItem.cs
- MessageRpc.cs
- CurrentChangedEventManager.cs
- UInt64Storage.cs
- QueryGeneratorBase.cs
- configsystem.cs
- UnauthorizedWebPart.cs
- ListBindableAttribute.cs
- SecureConversationVersion.cs
- BinaryObjectWriter.cs
- XsdCachingReader.cs
- FacetEnabledSchemaElement.cs
- FlowDocumentFormatter.cs
- RangeValidator.cs
- PartialClassGenerationTaskInternal.cs
- Membership.cs
- DesignerActionTextItem.cs
- XmlAutoDetectWriter.cs
- _NegotiateClient.cs
- ConfigXmlCDataSection.cs
- ClassValidator.cs
- DebugView.cs
- ReflectEventDescriptor.cs
- MeasurementDCInfo.cs
- PageClientProxyGenerator.cs
- SizeIndependentAnimationStorage.cs
- Currency.cs
- BindingManagerDataErrorEventArgs.cs
- FileSecurity.cs
- SmtpException.cs
- ExceptionHandlersDesigner.cs
- ServiceDescription.cs
- WorkflowViewManager.cs
- XamlTemplateSerializer.cs
- ControlAdapter.cs
- NativeActivityMetadata.cs
- SchemaObjectWriter.cs
- SerialErrors.cs
- Action.cs
- GenericParameterDataContract.cs
- DBParameter.cs
- ResourcesBuildProvider.cs
- GCHandleCookieTable.cs
- ControlCachePolicy.cs
- _SecureChannel.cs
- UnsafeNativeMethods.cs
- FreezableDefaultValueFactory.cs
- PairComparer.cs
- Vector3DAnimationUsingKeyFrames.cs
- HttpHandlerAction.cs
- TableColumn.cs
- Brush.cs
- TrailingSpaceComparer.cs
- ClientSettingsProvider.cs
- PixelFormatConverter.cs
- RayMeshGeometry3DHitTestResult.cs
- ActiveDocumentEvent.cs
- PriorityBindingExpression.cs
- PeerObject.cs
- ContextStaticAttribute.cs
- PeerTransportListenAddressConverter.cs