Code:
/ DotNET / DotNET / 8.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
- BindToObject.cs
- DynamicPropertyHolder.cs
- SynchronizedDispatch.cs
- ToolStripSeparatorRenderEventArgs.cs
- RuntimeComponentFilter.cs
- FilteredAttributeCollection.cs
- NavigationWindowAutomationPeer.cs
- URI.cs
- ExpressionList.cs
- CloseSequenceResponse.cs
- MessageQueueException.cs
- FixedPage.cs
- CompositeFontParser.cs
- SymbolType.cs
- ParserExtension.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- DataSourceGroupCollection.cs
- Parser.cs
- CrossAppDomainChannel.cs
- ObjectList.cs
- ListControl.cs
- InvalidDataException.cs
- InstanceContextManager.cs
- TextPointer.cs
- And.cs
- FrameAutomationPeer.cs
- EventSinkHelperWriter.cs
- AuthenticationModuleElement.cs
- EnumMember.cs
- XmlSerializerVersionAttribute.cs
- _NegoState.cs
- ComplexPropertyEntry.cs
- DependencyPropertyHelper.cs
- Keywords.cs
- AsyncContentLoadedEventArgs.cs
- WmiPutTraceRecord.cs
- AccessDataSourceDesigner.cs
- MsdtcWrapper.cs
- BuildResult.cs
- MailMessageEventArgs.cs
- dsa.cs
- IList.cs
- FixedPageProcessor.cs
- JobDuplex.cs
- BitmapEffectGroup.cs
- ApplicationGesture.cs
- CodeNamespaceImportCollection.cs
- SqlDependencyListener.cs
- QilDataSource.cs
- DefaultProxySection.cs
- StrongNameKeyPair.cs
- ListBase.cs
- TextBox.cs
- UnknownWrapper.cs
- SimpleTableProvider.cs
- MulticastIPAddressInformationCollection.cs
- EditBehavior.cs
- LayoutExceptionEventArgs.cs
- SHA256.cs
- ConfigXmlAttribute.cs
- _CookieModule.cs
- ToolStripContentPanel.cs
- RouteValueDictionary.cs
- UnhandledExceptionEventArgs.cs
- RegexBoyerMoore.cs
- _SpnDictionary.cs
- ChannelServices.cs
- BaseConfigurationRecord.cs
- CultureSpecificCharacterBufferRange.cs
- CacheEntry.cs
- KeyValueConfigurationCollection.cs
- ArrayExtension.cs
- ExtensibleClassFactory.cs
- SmtpLoginAuthenticationModule.cs
- CacheAxisQuery.cs
- MetadataCache.cs
- Translator.cs
- thaishape.cs
- TextPattern.cs
- FlowLayoutSettings.cs
- CustomError.cs
- ISAPIRuntime.cs
- DigitalSignature.cs
- XmlAutoDetectWriter.cs
- DesignerWidgets.cs
- RegexWorker.cs
- GatewayDefinition.cs
- PeerCollaboration.cs
- Camera.cs
- FontDifferentiator.cs
- ModelUIElement3D.cs
- BridgeDataReader.cs
- ISessionStateStore.cs
- PersistenceException.cs
- Point3D.cs
- DesignerHierarchicalDataSourceView.cs
- KeySpline.cs
- TableLayoutCellPaintEventArgs.cs
- TogglePattern.cs
- RuntimeTrackingProfile.cs