Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / PopupEventArgs.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NonBatchDirectoryCompiler.cs
- SQLDecimalStorage.cs
- BinaryFormatterWriter.cs
- RijndaelManagedTransform.cs
- ReliabilityContractAttribute.cs
- CommandLibraryHelper.cs
- PropertyRecord.cs
- FixedSOMPage.cs
- GeometryDrawing.cs
- Constant.cs
- WebRequestModuleElement.cs
- UniqueConstraint.cs
- ElementNotEnabledException.cs
- EntityDataSourceSelectedEventArgs.cs
- Helpers.cs
- RectAnimationClockResource.cs
- SqlCacheDependencyDatabaseCollection.cs
- SqlDataSourceParameterParser.cs
- TypeNameHelper.cs
- TranslateTransform3D.cs
- PropertyDescriptorGridEntry.cs
- PersonalizationState.cs
- AQNBuilder.cs
- TemplatedAdorner.cs
- HttpHandlerActionCollection.cs
- XmlSchemaSimpleTypeList.cs
- Literal.cs
- MenuItem.cs
- SrgsRuleRef.cs
- LayoutDump.cs
- XmlNotation.cs
- InvalidAsynchronousStateException.cs
- ToolStripItemEventArgs.cs
- ToolStripDropDownItemDesigner.cs
- HtmlString.cs
- Contracts.cs
- HiddenField.cs
- DynamicDataExtensions.cs
- AccessibleObject.cs
- RepeaterItemEventArgs.cs
- DataServiceCollectionOfT.cs
- HtmlString.cs
- PatternMatcher.cs
- Comparer.cs
- OdbcConnectionFactory.cs
- OuterProxyWrapper.cs
- CodeMethodInvokeExpression.cs
- RichTextBoxAutomationPeer.cs
- AddValidationError.cs
- RestHandlerFactory.cs
- DbMetaDataCollectionNames.cs
- SerializationAttributes.cs
- GridViewPageEventArgs.cs
- DbConnectionFactory.cs
- DbCommandTree.cs
- UnitySerializationHolder.cs
- FileIOPermission.cs
- ListViewDataItem.cs
- DBAsyncResult.cs
- DesignerToolStripControlHost.cs
- TransformPatternIdentifiers.cs
- XmlSchemaSequence.cs
- OutputScope.cs
- DataBoundLiteralControl.cs
- DocumentReferenceCollection.cs
- Expressions.cs
- SelectionEditingBehavior.cs
- RoleService.cs
- TextEditorCharacters.cs
- HTMLTextWriter.cs
- BoundConstants.cs
- SmtpTransport.cs
- _UriTypeConverter.cs
- MediaCommands.cs
- Itemizer.cs
- WebPartHeaderCloseVerb.cs
- DrawingContextDrawingContextWalker.cs
- ToolStripRendererSwitcher.cs
- PassportPrincipal.cs
- DataGridViewCellFormattingEventArgs.cs
- TypedCompletedAsyncResult.cs
- LoginView.cs
- ScrollBar.cs
- FileDialogCustomPlacesCollection.cs
- ExternalCalls.cs
- ClipboardProcessor.cs
- ContractMethodParameterInfo.cs
- CompilerInfo.cs
- CodeStatementCollection.cs
- UInt32Converter.cs
- GeneralTransform.cs
- Stack.cs
- ContainerParagraph.cs
- NonVisualControlAttribute.cs
- TextBox.cs
- _SafeNetHandles.cs
- TypeDescriptorFilterService.cs
- ToolStripItemEventArgs.cs
- CodeCatchClause.cs
- ImageCodecInfoPrivate.cs