Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / HelpEvent.cs / 1305376 / HelpEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
using System.Runtime.Remoting;
using System.ComponentModel;
using System.Diagnostics;
using System;
using System.Drawing;
using Microsoft.Win32;
///
///
///
/// Provides data for the Control.HelpRequest event.
///
///
[System.Runtime.InteropServices.ComVisible(true)]
public class HelpEventArgs : EventArgs {
private readonly Point mousePos;
private bool handled = false;
///
///
///
/// Initializes a new instance of the class.
///
///
public HelpEventArgs(Point mousePos) {
this.mousePos = mousePos;
}
///
///
///
/// Gets the screen coordinates of the mouse pointer.
///
///
public Point MousePos {
get {
return mousePos;
}
}
///
///
///
/// Gets
/// or sets a value indicating
/// whether the Help event was handled.
///
///
public bool Handled {
get {
return handled;
}
set {
handled = 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
- InstanceDescriptor.cs
- RegistrationServices.cs
- Figure.cs
- CompilerHelpers.cs
- InfiniteIntConverter.cs
- LayoutSettings.cs
- TextCompositionManager.cs
- FreezableCollection.cs
- MouseWheelEventArgs.cs
- activationcontext.cs
- XmlSchemaAttributeGroupRef.cs
- TraversalRequest.cs
- DeleteHelper.cs
- SqlInfoMessageEvent.cs
- BaseValidator.cs
- ToolBarOverflowPanel.cs
- ResXBuildProvider.cs
- DataControlFieldCollection.cs
- EventManager.cs
- CodeRemoveEventStatement.cs
- WsrmFault.cs
- OperationCanceledException.cs
- DynamicPropertyHolder.cs
- EventTrigger.cs
- AttachedPropertyBrowsableAttribute.cs
- MsmqHostedTransportConfiguration.cs
- FigureParagraph.cs
- SafeNativeMethods.cs
- UnsafeNativeMethodsCLR.cs
- StylusPointPropertyId.cs
- TabRenderer.cs
- WebPartCatalogCloseVerb.cs
- StrongTypingException.cs
- ProtocolsConfigurationEntry.cs
- DrawListViewColumnHeaderEventArgs.cs
- MembershipUser.cs
- SymLanguageVendor.cs
- StringSorter.cs
- XmlDataSourceView.cs
- WsatTransactionHeader.cs
- HtmlTableRow.cs
- ExpressionLink.cs
- IOThreadTimer.cs
- RijndaelManagedTransform.cs
- FileSystemWatcher.cs
- TemplateBindingExpression.cs
- RowToParametersTransformer.cs
- XmlRootAttribute.cs
- EntityTypeEmitter.cs
- Matrix.cs
- FormViewUpdateEventArgs.cs
- Pen.cs
- CapabilitiesAssignment.cs
- XmlSchema.cs
- EndPoint.cs
- GraphicsPath.cs
- ToolStripSystemRenderer.cs
- BindingCollection.cs
- FactoryId.cs
- VectorCollection.cs
- TraceProvider.cs
- ZeroOpNode.cs
- DataControlFieldCell.cs
- DSASignatureFormatter.cs
- NameNode.cs
- CopyAction.cs
- securitycriticaldataformultiplegetandset.cs
- ReadOnlyCollectionBase.cs
- MouseGesture.cs
- WorkflowServiceHostFactory.cs
- BufferCache.cs
- RichTextBoxConstants.cs
- TableHeaderCell.cs
- BackEase.cs
- Point3DAnimation.cs
- Convert.cs
- MatchingStyle.cs
- DetailsViewDeletedEventArgs.cs
- StringHelper.cs
- LeftCellWrapper.cs
- ToolStripContentPanelDesigner.cs
- ToolStripDropDownClosingEventArgs.cs
- DataGridViewColumnEventArgs.cs
- AssociationTypeEmitter.cs
- TableCell.cs
- InputBinding.cs
- XmlComplianceUtil.cs
- PerspectiveCamera.cs
- DiagnosticEventProvider.cs
- SupportingTokenChannel.cs
- AnonymousIdentificationSection.cs
- ImageSourceConverter.cs
- ProtocolsConfigurationEntry.cs
- HierarchicalDataBoundControl.cs
- FullTextBreakpoint.cs
- CompoundFileReference.cs
- GeneralTransformGroup.cs
- EDesignUtil.cs
- ValidationEventArgs.cs
- DesignerTextWriter.cs