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
- EntityReference.cs
- ResourcePermissionBase.cs
- DynamicDocumentPaginator.cs
- ClientRolePrincipal.cs
- BindingWorker.cs
- ObjectStateEntryDbDataRecord.cs
- ProtocolViolationException.cs
- NullableLongSumAggregationOperator.cs
- RangeEnumerable.cs
- SystemIPv4InterfaceProperties.cs
- XPathBinder.cs
- StylusDevice.cs
- QuaternionValueSerializer.cs
- XmlParserContext.cs
- ToolStripContentPanel.cs
- TreeViewHitTestInfo.cs
- versioninfo.cs
- DocumentXmlWriter.cs
- EdmComplexTypeAttribute.cs
- ReferenceEqualityComparer.cs
- DomainConstraint.cs
- CompatibleComparer.cs
- NamedObject.cs
- GroupDescription.cs
- PageTheme.cs
- TemplateColumn.cs
- SchemaTypeEmitter.cs
- Latin1Encoding.cs
- OdbcUtils.cs
- ProjectionPruner.cs
- Facet.cs
- HttpCookie.cs
- TreeWalker.cs
- Triplet.cs
- QilFactory.cs
- IndentTextWriter.cs
- BoundField.cs
- Assert.cs
- DataSet.cs
- BitmapEffectDrawingContextState.cs
- FreeFormDesigner.cs
- Tuple.cs
- DebugView.cs
- PageCatalogPart.cs
- FilterException.cs
- ObjectViewQueryResultData.cs
- DesignerValidatorAdapter.cs
- DataGridViewRowEventArgs.cs
- ImageListStreamer.cs
- TreeViewItemAutomationPeer.cs
- EventWaitHandle.cs
- EmulateRecognizeCompletedEventArgs.cs
- Dynamic.cs
- GeometryCollection.cs
- AssemblyCache.cs
- Exceptions.cs
- RegexParser.cs
- FormViewDeletedEventArgs.cs
- DbQueryCommandTree.cs
- AnnotationResource.cs
- SurrogateEncoder.cs
- StateFinalizationActivity.cs
- BitmapPalettes.cs
- StaticResourceExtension.cs
- Types.cs
- StringUtil.cs
- DesignerActionUI.cs
- WindowInteropHelper.cs
- ListParaClient.cs
- TextOptionsInternal.cs
- ClientSponsor.cs
- __ComObject.cs
- CompiledIdentityConstraint.cs
- FormattedTextSymbols.cs
- DataGridViewCellLinkedList.cs
- CacheMode.cs
- ImageFormat.cs
- SqlDataSourceStatusEventArgs.cs
- CatalogZoneBase.cs
- StylusCaptureWithinProperty.cs
- dataSvcMapFileLoader.cs
- Exceptions.cs
- BoolExpressionVisitors.cs
- AnimatedTypeHelpers.cs
- TypedAsyncResult.cs
- LocalizedNameDescriptionPair.cs
- ColumnMap.cs
- Soap.cs
- PathParser.cs
- SmtpFailedRecipientsException.cs
- AutomationElement.cs
- DataGridTableCollection.cs
- DataGridViewLinkColumn.cs
- BaseUriHelper.cs
- QueryPageSettingsEventArgs.cs
- DetailsView.cs
- ObservableCollectionDefaultValueFactory.cs
- SoapAttributeAttribute.cs
- QueryPageSettingsEventArgs.cs
- PostBackTrigger.cs