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
- X509SecurityTokenAuthenticator.cs
- ISFTagAndGuidCache.cs
- ObservableDictionary.cs
- UpdateException.cs
- GridViewAutomationPeer.cs
- Pen.cs
- ResXDataNode.cs
- StreamReader.cs
- XmlValidatingReader.cs
- RightsManagementPermission.cs
- XmlException.cs
- AttachedPropertyBrowsableAttribute.cs
- SqlEnums.cs
- DateTimeSerializationSection.cs
- ScrollChangedEventArgs.cs
- DesignOnlyAttribute.cs
- PrePrepareMethodAttribute.cs
- NGCUIElementCollectionSerializerAsync.cs
- BamlResourceContent.cs
- RegexCode.cs
- _ContextAwareResult.cs
- MetadataArtifactLoaderComposite.cs
- TransformCollection.cs
- ListenerElementsCollection.cs
- FixedSOMGroup.cs
- BaseCodeDomTreeGenerator.cs
- PagesChangedEventArgs.cs
- MsmqProcessProtocolHandler.cs
- Resources.Designer.cs
- VideoDrawing.cs
- Vector3DKeyFrameCollection.cs
- StringFreezingAttribute.cs
- PolicyChain.cs
- RelationshipConverter.cs
- FontConverter.cs
- CardSpaceException.cs
- WebPartManagerDesigner.cs
- WindowProviderWrapper.cs
- ListViewItem.cs
- PointUtil.cs
- ContainerUIElement3D.cs
- ServiceMetadataContractBehavior.cs
- FixedHyperLink.cs
- SelectionRange.cs
- SessionEndedEventArgs.cs
- PropertyChangeTracker.cs
- Calendar.cs
- StyleBamlTreeBuilder.cs
- SmtpNegotiateAuthenticationModule.cs
- GridViewColumnHeaderAutomationPeer.cs
- ModelItemDictionaryImpl.cs
- ChildTable.cs
- InlineObject.cs
- ExtentKey.cs
- KeyInfo.cs
- ColorBlend.cs
- BaseTemplateParser.cs
- SQLBytes.cs
- Fonts.cs
- InsufficientMemoryException.cs
- SymbolPair.cs
- CharEnumerator.cs
- SingleAnimationBase.cs
- BooleanFunctions.cs
- MailHeaderInfo.cs
- NamespaceTable.cs
- TypeForwardedToAttribute.cs
- ProxyHwnd.cs
- ResourceAssociationSet.cs
- AssemblyResolver.cs
- ComponentDispatcher.cs
- SelectionEditor.cs
- XmlAtomicValue.cs
- KeyEventArgs.cs
- CodeObjectCreateExpression.cs
- LicFileLicenseProvider.cs
- TimeIntervalCollection.cs
- EntitySqlQueryCacheKey.cs
- UntrustedRecipientException.cs
- ComplusTypeValidator.cs
- ExpressionBindingCollection.cs
- SystemInformation.cs
- BuildProviderAppliesToAttribute.cs
- SchemaSetCompiler.cs
- ZoneButton.cs
- ScriptReference.cs
- LinearGradientBrush.cs
- SortDescription.cs
- ChangeDirector.cs
- FilePrompt.cs
- Fault.cs
- EventTrigger.cs
- CollectionBuilder.cs
- AsymmetricKeyExchangeDeformatter.cs
- TagMapInfo.cs
- ProtocolViolationException.cs
- FixedHyperLink.cs
- BooleanExpr.cs
- LayoutEvent.cs
- ByeMessage11.cs