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
- ColorMatrix.cs
- Serializer.cs
- WindowsFormsSynchronizationContext.cs
- ArgumentDirectionHelper.cs
- MetadataProperty.cs
- JsonWriterDelegator.cs
- CodeSnippetExpression.cs
- TypeConverter.cs
- TableSectionStyle.cs
- MainMenu.cs
- Wizard.cs
- EasingFunctionBase.cs
- TextOnlyOutput.cs
- TdsValueSetter.cs
- TextRangeEdit.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ProfileService.cs
- EmptyStringExpandableObjectConverter.cs
- InvalidChannelBindingException.cs
- PackageFilter.cs
- TextEncodedRawTextWriter.cs
- sqlstateclientmanager.cs
- MailHeaderInfo.cs
- RsaSecurityKey.cs
- EventSinkHelperWriter.cs
- PointCollection.cs
- HostProtectionPermission.cs
- PathFigure.cs
- DataViewSettingCollection.cs
- ApplicationSecurityInfo.cs
- DataGridAddNewRow.cs
- DataGridViewCellConverter.cs
- HtmlShim.cs
- EntityContainerEntitySet.cs
- DeclarativeCatalogPart.cs
- XmlCharCheckingReader.cs
- PeekCompletedEventArgs.cs
- Scene3D.cs
- DataControlFieldCollection.cs
- FixUpCollection.cs
- ToolStripSplitStackLayout.cs
- SqlTypeSystemProvider.cs
- OleDbConnectionInternal.cs
- SqlOuterApplyReducer.cs
- Int16Animation.cs
- BulletedListEventArgs.cs
- Socket.cs
- ProcessManager.cs
- FormClosingEvent.cs
- ProfileSettingsCollection.cs
- cryptoapiTransform.cs
- OleServicesContext.cs
- UpdateException.cs
- InfoCardHelper.cs
- infer.cs
- UserPreferenceChangedEventArgs.cs
- PackUriHelper.cs
- GregorianCalendar.cs
- RemoteWebConfigurationHostServer.cs
- ModuleBuilderData.cs
- PageContent.cs
- RoutedEvent.cs
- HtmlContainerControl.cs
- CredentialCache.cs
- TreeNodeCollection.cs
- ToolStripControlHost.cs
- DbUpdateCommandTree.cs
- OrthographicCamera.cs
- DetailsViewDeletedEventArgs.cs
- _Semaphore.cs
- BinaryObjectInfo.cs
- VirtualPathUtility.cs
- latinshape.cs
- SrgsOneOf.cs
- CharacterMetricsDictionary.cs
- XmlResolver.cs
- FixedDSBuilder.cs
- GeometryGroup.cs
- XmlQueryRuntime.cs
- WinEventQueueItem.cs
- PointConverter.cs
- ElementMarkupObject.cs
- DomNameTable.cs
- RegistrationServices.cs
- DbModificationClause.cs
- LoadWorkflowByKeyAsyncResult.cs
- PersonalizationAdministration.cs
- dataprotectionpermission.cs
- AdornerDecorator.cs
- EdgeProfileValidation.cs
- ToolBar.cs
- RequestBringIntoViewEventArgs.cs
- AnnotationAdorner.cs
- DataTableMapping.cs
- QilStrConcatenator.cs
- Size.cs
- SRDisplayNameAttribute.cs
- MarkupWriter.cs
- ActivityContext.cs
- AutoResizedEvent.cs