Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / PopupEventArgs.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SystemBrushes.cs
- EntityViewGenerationConstants.cs
- RegexReplacement.cs
- OdbcInfoMessageEvent.cs
- ContainerParagraph.cs
- ZipIOExtraFieldPaddingElement.cs
- DataGridViewAccessibleObject.cs
- control.ime.cs
- PreparingEnlistment.cs
- OleDbError.cs
- XmlNodeComparer.cs
- DisableDpiAwarenessAttribute.cs
- DeclarativeCatalogPartDesigner.cs
- ModelVisual3D.cs
- ObfuscateAssemblyAttribute.cs
- _IPv6Address.cs
- HtmlHistory.cs
- ICspAsymmetricAlgorithm.cs
- MatrixAnimationUsingPath.cs
- DiscardableAttribute.cs
- DataControlFieldHeaderCell.cs
- CompilerHelpers.cs
- ListItemParagraph.cs
- TypeGeneratedEventArgs.cs
- TextComposition.cs
- ExpressionNormalizer.cs
- ParserExtension.cs
- DataChangedEventManager.cs
- StreamDocument.cs
- DoubleCollection.cs
- ExpressionReplacer.cs
- Listen.cs
- Listbox.cs
- ActivitySurrogateSelector.cs
- PolyBezierSegment.cs
- coordinatorscratchpad.cs
- ConsoleCancelEventArgs.cs
- PageCanvasSize.cs
- EventLogEntry.cs
- BamlVersionHeader.cs
- ProfilePropertyNameValidator.cs
- MobileListItem.cs
- DataServiceEntityAttribute.cs
- IResourceProvider.cs
- ColorConverter.cs
- RoleService.cs
- EdmType.cs
- MessageQueuePermissionAttribute.cs
- ColumnResizeAdorner.cs
- AppDomainFactory.cs
- OleDbDataReader.cs
- GeneratedCodeAttribute.cs
- QueryResult.cs
- AutomationIdentifier.cs
- InstanceKeyView.cs
- ZipPackagePart.cs
- FastEncoderWindow.cs
- Timer.cs
- MissingManifestResourceException.cs
- LayoutEvent.cs
- ValidationSummary.cs
- ObjectContext.cs
- CellTreeNodeVisitors.cs
- OracleNumber.cs
- QueryResults.cs
- ToolStripManager.cs
- ExtensionSimplifierMarkupObject.cs
- TextProperties.cs
- StickyNoteHelper.cs
- ApplicationHost.cs
- NameValueSectionHandler.cs
- ContextMenu.cs
- ObjectParameter.cs
- MoveSizeWinEventHandler.cs
- StructuredType.cs
- ReferenceConverter.cs
- TraceFilter.cs
- AxisAngleRotation3D.cs
- MobileCategoryAttribute.cs
- DbDataSourceEnumerator.cs
- LeafCellTreeNode.cs
- DragDrop.cs
- PathGeometry.cs
- SqlMethodTransformer.cs
- CommonProperties.cs
- XamlToRtfParser.cs
- RectangleConverter.cs
- DetailsViewDeleteEventArgs.cs
- FramingChannels.cs
- MergeFailedEvent.cs
- GifBitmapDecoder.cs
- BamlLocalizableResourceKey.cs
- SafeViewOfFileHandle.cs
- AssemblyResolver.cs
- RenderingBiasValidation.cs
- WindowsIPAddress.cs
- SetterBase.cs
- ComplexTypeEmitter.cs
- DoubleAnimationUsingPath.cs
- BrowserCapabilitiesFactoryBase.cs