Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / PopupEventArgs.cs / 1305376 / PopupEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// This class contains the information a user needs to paint the ToolTip. /// public class PopupEventArgs : CancelEventArgs { private IWin32Window associatedWindow; private Size size; private Control associatedControl; private bool isBalloon; ////// /// Creates a new PopupEventArgs with the given parameters. /// public PopupEventArgs(IWin32Window associatedWindow, Control associatedControl, bool isBalloon, Size size) { this.associatedWindow = associatedWindow; this.size = size; this.associatedControl = associatedControl; this.isBalloon = isBalloon; } ////// /// The Associated Window for which the tooltip is being painted. /// public IWin32Window AssociatedWindow { get { return associatedWindow; } } ////// /// The control for which the tooltip is being painted. /// public Control AssociatedControl { get { return associatedControl; } } ////// /// Whether the tooltip is Ballooned. /// public bool IsBalloon { get { return isBalloon; } } ////// /// The rectangle outlining the area in which the painting should be done. /// public Size ToolTipSize { get { return size; } set { size = 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
- ComponentEditorForm.cs
- exports.cs
- TypeExtension.cs
- ViewKeyConstraint.cs
- BamlResourceContent.cs
- Int32EqualityComparer.cs
- AuthenticatedStream.cs
- MasterPageBuildProvider.cs
- BamlBinaryWriter.cs
- ReceiveContextCollection.cs
- ConnectionManagementElementCollection.cs
- XmlRawWriterWrapper.cs
- Literal.cs
- CaseStatementProjectedSlot.cs
- TemplateAction.cs
- GroupBox.cs
- ToolStripGrip.cs
- ObjectFullSpanRewriter.cs
- Config.cs
- ConsoleKeyInfo.cs
- ComboBox.cs
- StatusBar.cs
- GatewayIPAddressInformationCollection.cs
- SizeConverter.cs
- MetricEntry.cs
- Rectangle.cs
- PlacementWorkspace.cs
- WebPartDisplayModeCancelEventArgs.cs
- ActiveDocumentEvent.cs
- StyleCollectionEditor.cs
- BoolExpression.cs
- WSMessageEncoding.cs
- CompilerTypeWithParams.cs
- StrongTypingException.cs
- WebPartsSection.cs
- TdsRecordBufferSetter.cs
- FreezableDefaultValueFactory.cs
- GlobalItem.cs
- WindowsSolidBrush.cs
- XmlTextReaderImplHelpers.cs
- SmtpException.cs
- UrlAuthFailedErrorFormatter.cs
- ResourceDescriptionAttribute.cs
- ToolStripTemplateNode.cs
- Exception.cs
- HtmlTableRowCollection.cs
- AnimationException.cs
- DEREncoding.cs
- WsatServiceAddress.cs
- MemberAccessException.cs
- StrictModeSecurityHeaderElementInferenceEngine.cs
- XmlSchemaSimpleContent.cs
- FileCodeGroup.cs
- GatewayIPAddressInformationCollection.cs
- NativeWindow.cs
- UpdatePanelTriggerCollection.cs
- UIElementHelper.cs
- StringWriter.cs
- DesignerValidationSummaryAdapter.cs
- ListMarkerSourceInfo.cs
- Interop.cs
- Converter.cs
- mediaeventargs.cs
- _PooledStream.cs
- IconConverter.cs
- UiaCoreTypesApi.cs
- MinimizableAttributeTypeConverter.cs
- IgnoreFlushAndCloseStream.cs
- RotateTransform.cs
- SqlMethodAttribute.cs
- TextEffect.cs
- MenuStrip.cs
- AppendHelper.cs
- _AcceptOverlappedAsyncResult.cs
- ReturnValue.cs
- SqlRewriteScalarSubqueries.cs
- ObjectStateEntry.cs
- TypeResolver.cs
- DataView.cs
- FormattedText.cs
- FastEncoderWindow.cs
- NameScopePropertyAttribute.cs
- WebReferencesBuildProvider.cs
- MetaModel.cs
- UmAlQuraCalendar.cs
- DrawingAttributes.cs
- SemaphoreFullException.cs
- log.cs
- Ref.cs
- DataExchangeServiceBinder.cs
- TemplateControlCodeDomTreeGenerator.cs
- DbParameterCollectionHelper.cs
- tibetanshape.cs
- MergePropertyDescriptor.cs
- Metafile.cs
- PersonalizationStateInfoCollection.cs
- Composition.cs
- MD5CryptoServiceProvider.cs
- EntityProviderFactory.cs
- HttpDebugHandler.cs