Code:
/ FX-1434 / FX-1434 / 1.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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ComponentEditorPage.cs
- SchemaEntity.cs
- ColorInterpolationModeValidation.cs
- RuleDefinitions.cs
- LocalizationComments.cs
- EntitySetDataBindingList.cs
- ManifestResourceInfo.cs
- XmlSerializableReader.cs
- PropertyDescriptorComparer.cs
- FixedSOMPageElement.cs
- ObjectSet.cs
- OdbcHandle.cs
- CultureTable.cs
- Context.cs
- UiaCoreProviderApi.cs
- TraceHandlerErrorFormatter.cs
- Properties.cs
- IndexedEnumerable.cs
- MultiPropertyDescriptorGridEntry.cs
- InstanceDataCollectionCollection.cs
- ButtonPopupAdapter.cs
- DropShadowEffect.cs
- WebRequestModulesSection.cs
- TabControl.cs
- ExecutedRoutedEventArgs.cs
- SaveFileDialog.cs
- HtmlSelect.cs
- CustomLineCap.cs
- AssemblyCache.cs
- HtmlFormAdapter.cs
- TextRangeSerialization.cs
- FloatUtil.cs
- RuntimeResourceSet.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- AdornerPresentationContext.cs
- HttpVersion.cs
- RtfNavigator.cs
- ValueOfAction.cs
- CommandField.cs
- Literal.cs
- DateTimeParse.cs
- WorkflowApplicationTerminatedException.cs
- SimpleRecyclingCache.cs
- DataSourceIDConverter.cs
- MultiPartWriter.cs
- SystemWebExtensionsSectionGroup.cs
- Group.cs
- StateRuntime.cs
- LoginAutoFormat.cs
- ParameterCollectionEditorForm.cs
- CompleteWizardStep.cs
- StylusPointDescription.cs
- SmiConnection.cs
- WeakReference.cs
- Decimal.cs
- DecoderReplacementFallback.cs
- Exceptions.cs
- SmiXetterAccessMap.cs
- ConfigurationSectionCollection.cs
- ToggleButtonAutomationPeer.cs
- DataControlImageButton.cs
- CalendarDay.cs
- Token.cs
- isolationinterop.cs
- DataGridViewSortCompareEventArgs.cs
- DataControlLinkButton.cs
- _SecureChannel.cs
- ObjectCacheSettings.cs
- AuthorizationRule.cs
- MetaChildrenColumn.cs
- EventSetter.cs
- OleAutBinder.cs
- PageHandlerFactory.cs
- HtmlImage.cs
- DataSysAttribute.cs
- Model3D.cs
- LinearGradientBrush.cs
- CustomAssemblyResolver.cs
- CalendarDay.cs
- TraceListener.cs
- CompilerLocalReference.cs
- SmiMetaData.cs
- MouseGestureValueSerializer.cs
- AxisAngleRotation3D.cs
- OperatorExpressions.cs
- BulletChrome.cs
- URIFormatException.cs
- RegexWriter.cs
- SqlDataSourceCommandParser.cs
- Base64Decoder.cs
- MetadataPropertyvalue.cs
- IndexedEnumerable.cs
- HttpCookie.cs
- WindowsListViewGroup.cs
- TheQuery.cs
- CodeTypeDeclaration.cs
- ConstructorArgumentAttribute.cs
- SoapConverter.cs
- GeneralTransformGroup.cs
- TabItemAutomationPeer.cs