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
- ReceiveActivityDesigner.cs
- cookiecollection.cs
- MobileControlsSectionHelper.cs
- JournalEntryStack.cs
- DbParameterHelper.cs
- RootBuilder.cs
- SafeLocalMemHandle.cs
- Scanner.cs
- TextBox.cs
- CodeDelegateInvokeExpression.cs
- RealizationContext.cs
- VersionedStreamOwner.cs
- SafeRegistryHandle.cs
- FontStretch.cs
- InternalMappingException.cs
- Help.cs
- Mapping.cs
- SecurityElement.cs
- LocatorGroup.cs
- LoginStatusDesigner.cs
- CollectionViewGroupRoot.cs
- ServiceModelPerformanceCounters.cs
- PersistenceContextEnlistment.cs
- EmptyImpersonationContext.cs
- Comparer.cs
- ListDictionaryInternal.cs
- Queue.cs
- LinqDataView.cs
- GroupBoxDesigner.cs
- XhtmlBasicTextBoxAdapter.cs
- DownloadProgressEventArgs.cs
- CompatibleComparer.cs
- BufferedGraphicsManager.cs
- DataGridViewSelectedColumnCollection.cs
- MailMessageEventArgs.cs
- HtmlFormWrapper.cs
- XmlSerializationGeneratedCode.cs
- InfiniteTimeSpanConverter.cs
- EmptyElement.cs
- SystemParameters.cs
- ValueSerializerAttribute.cs
- DeferredBinaryDeserializerExtension.cs
- ButtonChrome.cs
- SessionStateContainer.cs
- RegisteredExpandoAttribute.cs
- DbConnectionPoolCounters.cs
- WrappedIUnknown.cs
- InputLanguageEventArgs.cs
- DragEvent.cs
- InputReport.cs
- UpdateDelegates.Generated.cs
- ColorInterpolationModeValidation.cs
- TextOnlyOutput.cs
- DataContractSerializerServiceBehavior.cs
- GridViewItemAutomationPeer.cs
- CollectionViewProxy.cs
- DecimalMinMaxAggregationOperator.cs
- SendMailErrorEventArgs.cs
- CopyOnWriteList.cs
- WrappedIUnknown.cs
- DataGridViewRowHeaderCell.cs
- UrlMappingCollection.cs
- baseaxisquery.cs
- StructuredCompositeActivityDesigner.cs
- CategoryAttribute.cs
- DesignRelationCollection.cs
- ProfileService.cs
- MimeWriter.cs
- SecurityChannelFactory.cs
- CodeSnippetExpression.cs
- CompModSwitches.cs
- UmAlQuraCalendar.cs
- ElementUtil.cs
- SchemaManager.cs
- ApplicationServicesHostFactory.cs
- DataReceivedEventArgs.cs
- IListConverters.cs
- CheckedPointers.cs
- mactripleDES.cs
- RelatedEnd.cs
- RadioButton.cs
- RichTextBoxAutomationPeer.cs
- VirtualStackFrame.cs
- HideDisabledControlAdapter.cs
- ChannelSinkStacks.cs
- MenuItemBindingCollection.cs
- DoubleConverter.cs
- Delay.cs
- HijriCalendar.cs
- DotExpr.cs
- MultitargetingHelpers.cs
- WebPartDescriptionCollection.cs
- InArgument.cs
- DataBoundControl.cs
- CustomLineCap.cs
- OperationResponse.cs
- SrgsSemanticInterpretationTag.cs
- RewritingPass.cs
- ComplexType.cs
- XmlSchemaAnyAttribute.cs