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
- HttpFileCollectionBase.cs
- BatchParser.cs
- Sql8ConformanceChecker.cs
- RankException.cs
- TabControlEvent.cs
- UmAlQuraCalendar.cs
- NavigationPropertyEmitter.cs
- ClientFormsAuthenticationMembershipProvider.cs
- SoapHttpTransportImporter.cs
- LifetimeServices.cs
- StylusCaptureWithinProperty.cs
- ReadOnlyDataSource.cs
- DbMetaDataColumnNames.cs
- AlignmentYValidation.cs
- EndOfStreamException.cs
- RegistrySecurity.cs
- DispatcherOperation.cs
- DataSvcMapFile.cs
- Panel.cs
- RightsDocument.cs
- ServerIdentity.cs
- OleDbMetaDataFactory.cs
- AsyncOperationContext.cs
- GridViewEditEventArgs.cs
- FillErrorEventArgs.cs
- DesignConnectionCollection.cs
- UnsafeNativeMethods.cs
- WindowsFormsHost.cs
- UnionCodeGroup.cs
- XmlSigningNodeWriter.cs
- WebPartTracker.cs
- AssemblyResolver.cs
- NavigationWindow.cs
- PageRanges.cs
- XPathSelectionIterator.cs
- storepermission.cs
- StrongNameIdentityPermission.cs
- RuleDefinitions.cs
- TextHidden.cs
- dsa.cs
- TabItem.cs
- Dispatcher.cs
- Set.cs
- DataGridAddNewRow.cs
- CodeArrayIndexerExpression.cs
- AppDomainAttributes.cs
- BuildTopDownAttribute.cs
- TemplateField.cs
- httpstaticobjectscollection.cs
- HealthMonitoringSectionHelper.cs
- MD5.cs
- DataGridViewSortCompareEventArgs.cs
- ResetableIterator.cs
- SelectionItemPatternIdentifiers.cs
- DetailsViewInsertedEventArgs.cs
- Assembly.cs
- EventSinkHelperWriter.cs
- GridView.cs
- DataGridViewElement.cs
- MatchingStyle.cs
- GridSplitter.cs
- Int32CAMarshaler.cs
- FrameworkElementFactoryMarkupObject.cs
- DesignerSerializerAttribute.cs
- PageParser.cs
- CodeChecksumPragma.cs
- RecordManager.cs
- ProbeMatches11.cs
- EventSetterHandlerConverter.cs
- ErrorActivity.cs
- FormViewDeleteEventArgs.cs
- ObjectDataSourceWizardForm.cs
- PathSegment.cs
- TimeSpanConverter.cs
- SqlUtils.cs
- RuleSetBrowserDialog.cs
- WorkflowInvoker.cs
- ReadWriteControlDesigner.cs
- SqlProviderServices.cs
- PageAsyncTask.cs
- QueryInterceptorAttribute.cs
- Application.cs
- DashStyle.cs
- AdRotatorDesigner.cs
- EventTrigger.cs
- XPathExpr.cs
- DependencyObject.cs
- XmlHierarchyData.cs
- DocumentProperties.cs
- NavigationService.cs
- ExtenderProviderService.cs
- SHA512.cs
- StateRuntime.cs
- followingquery.cs
- WmpBitmapDecoder.cs
- OleDbPermission.cs
- HelpFileFileNameEditor.cs
- Parameter.cs
- BrowserDefinitionCollection.cs
- EventManager.cs