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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebAdminConfigurationHelper.cs
- ComponentResourceKeyConverter.cs
- SafeFileMappingHandle.cs
- LambdaCompiler.Logical.cs
- WebPartDeleteVerb.cs
- TableRow.cs
- Imaging.cs
- FactoryId.cs
- TypeDescriptionProvider.cs
- EntityDataSourceEntitySetNameItem.cs
- XmlSchemaResource.cs
- HttpUnhandledOperationInvoker.cs
- EncoderParameter.cs
- ExtendedPropertyCollection.cs
- Listbox.cs
- EventListener.cs
- InvalidOperationException.cs
- PreloadedPackages.cs
- SystemColors.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- GroupBoxRenderer.cs
- TypeDelegator.cs
- LinkedList.cs
- PathSegment.cs
- TemplateInstanceAttribute.cs
- LiteralTextParser.cs
- ImmutableObjectAttribute.cs
- mactripleDES.cs
- ExtensionMethods.cs
- Guid.cs
- SystemMulticastIPAddressInformation.cs
- ToolStripMenuItem.cs
- SingleStorage.cs
- Rectangle.cs
- EventHandlersDesigner.cs
- WebPartTransformerCollection.cs
- Geometry.cs
- EncodingStreamWrapper.cs
- DeleteMemberBinder.cs
- SQLStringStorage.cs
- XpsFont.cs
- ComponentEvent.cs
- XmlSchemaComplexContentExtension.cs
- ListBoxAutomationPeer.cs
- ContextMenuStripGroupCollection.cs
- datacache.cs
- IssuedTokenServiceCredential.cs
- HwndKeyboardInputProvider.cs
- ZoomPercentageConverter.cs
- FormatConvertedBitmap.cs
- JsonSerializer.cs
- MSAANativeProvider.cs
- OleDbPermission.cs
- CodeAccessPermission.cs
- BuildDependencySet.cs
- PropertyConverter.cs
- CompilerTypeWithParams.cs
- TimerEventSubscriptionCollection.cs
- WindowsSpinner.cs
- Types.cs
- Evaluator.cs
- FontEmbeddingManager.cs
- TriggerBase.cs
- SessionConnectionReader.cs
- DesignTimeTemplateParser.cs
- ControlDesigner.cs
- ReturnEventArgs.cs
- XmlFormatExtensionPointAttribute.cs
- SettingsAttributes.cs
- HostedNamedPipeTransportManager.cs
- DataSysAttribute.cs
- EventDrivenDesigner.cs
- IgnorePropertiesAttribute.cs
- HeaderedItemsControl.cs
- SrgsElement.cs
- KeyboardEventArgs.cs
- SynchronousChannel.cs
- TextClipboardData.cs
- NativeMethods.cs
- FindProgressChangedEventArgs.cs
- AesCryptoServiceProvider.cs
- ExcludeFromCodeCoverageAttribute.cs
- ExceptionHandlers.cs
- HandleCollector.cs
- SqlResolver.cs
- RequestBringIntoViewEventArgs.cs
- DeclaredTypeElement.cs
- GenerateScriptTypeAttribute.cs
- PrinterSettings.cs
- PageCache.cs
- ThemeInfoAttribute.cs
- TreeViewItem.cs
- FixedSOMSemanticBox.cs
- DesignTimeTemplateParser.cs
- DocumentGrid.cs
- LayoutTable.cs
- OleAutBinder.cs
- NetworkInterface.cs
- NavigationProgressEventArgs.cs
- StorageModelBuildProvider.cs