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
- CheckBox.cs
- CharacterHit.cs
- DataGridTableCollection.cs
- smtpconnection.cs
- WindowsFormsSectionHandler.cs
- StorageEndPropertyMapping.cs
- AssemblyBuilderData.cs
- ResXDataNode.cs
- CacheSection.cs
- RawAppCommandInputReport.cs
- UDPClient.cs
- HyperLink.cs
- XmlnsDefinitionAttribute.cs
- mediaeventargs.cs
- ClassHandlersStore.cs
- ExceptionUtility.cs
- DefaultBinder.cs
- _HeaderInfo.cs
- AuthorizationRule.cs
- InvalidOleVariantTypeException.cs
- MouseActionValueSerializer.cs
- DurableOperationAttribute.cs
- CaseStatementProjectedSlot.cs
- XPathExpr.cs
- WpfPayload.cs
- RequestResizeEvent.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SqlGenerator.cs
- PageCache.cs
- ProcessRequestAsyncResult.cs
- AsyncCompletedEventArgs.cs
- CodeDomSerializationProvider.cs
- ValuePatternIdentifiers.cs
- TypeBuilderInstantiation.cs
- Transform.cs
- ThrowHelper.cs
- SkewTransform.cs
- SettingsPropertyWrongTypeException.cs
- DBBindings.cs
- QilBinary.cs
- localization.cs
- RequestQueue.cs
- DrawListViewSubItemEventArgs.cs
- PropertyTabChangedEvent.cs
- BitmapImage.cs
- ImageInfo.cs
- GetIndexBinder.cs
- ObjectAnimationBase.cs
- AutomationPatternInfo.cs
- InputScope.cs
- FragmentQueryKB.cs
- PolyLineSegment.cs
- IdentityHolder.cs
- TextOnlyOutput.cs
- ConfigXmlElement.cs
- UserUseLicenseDictionaryLoader.cs
- ConstNode.cs
- dataprotectionpermission.cs
- PerformanceCounterNameAttribute.cs
- ClaimTypes.cs
- PKCS1MaskGenerationMethod.cs
- StorageAssociationTypeMapping.cs
- ProviderIncompatibleException.cs
- IPAddressCollection.cs
- ViewService.cs
- ClientBuildManagerCallback.cs
- DropShadowEffect.cs
- SQLUtility.cs
- ImmutableObjectAttribute.cs
- NumericPagerField.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- ErrorFormatter.cs
- TableLayoutColumnStyleCollection.cs
- KeyManager.cs
- DCSafeHandle.cs
- KnownColorTable.cs
- Operator.cs
- ProtocolsSection.cs
- CounterCreationDataCollection.cs
- XmlAttributeCache.cs
- ParagraphVisual.cs
- UdpReplyToBehavior.cs
- WinFormsSecurity.cs
- RemoteWebConfigurationHostServer.cs
- GridViewSelectEventArgs.cs
- EventLogPermissionAttribute.cs
- ResolveMatches11.cs
- CodeBinaryOperatorExpression.cs
- HttpResponseInternalWrapper.cs
- EdmFunction.cs
- HttpDebugHandler.cs
- DropDownList.cs
- IndexedWhereQueryOperator.cs
- DbDataAdapter.cs
- HelpInfo.cs
- XmlConvert.cs
- ParenthesizePropertyNameAttribute.cs
- UIElementParagraph.cs
- DirectionalLight.cs
- Command.cs