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
- HtmlInputSubmit.cs
- TreeNodeMouseHoverEvent.cs
- TabControlCancelEvent.cs
- SiteMapNodeItemEventArgs.cs
- RoutedEventArgs.cs
- Utils.cs
- CodePrimitiveExpression.cs
- AssemblyLoader.cs
- CopyOnWriteList.cs
- MultiSelector.cs
- XamlDesignerSerializationManager.cs
- ChannelManagerHelpers.cs
- PerspectiveCamera.cs
- MetadataItem_Static.cs
- MyContact.cs
- SessionEndedEventArgs.cs
- CodeSubDirectoriesCollection.cs
- AsyncCompletedEventArgs.cs
- ISAPIWorkerRequest.cs
- ScriptControlDescriptor.cs
- DesignerDataRelationship.cs
- ExceptQueryOperator.cs
- TextWriter.cs
- TextParaClient.cs
- ConfigUtil.cs
- PrinterResolution.cs
- XhtmlBasicLinkAdapter.cs
- PrivilegedConfigurationManager.cs
- PreProcessor.cs
- Interlocked.cs
- MatrixCamera.cs
- DoubleAnimation.cs
- SqlTransaction.cs
- ApplicationSecurityManager.cs
- SqlBooleanizer.cs
- XmlNodeList.cs
- NodeLabelEditEvent.cs
- DataSvcMapFileSerializer.cs
- XPathAxisIterator.cs
- CharacterMetricsDictionary.cs
- RichTextBoxConstants.cs
- CharStorage.cs
- OleDbInfoMessageEvent.cs
- ErrorInfoXmlDocument.cs
- WindowProviderWrapper.cs
- ProfessionalColors.cs
- DispatcherOperation.cs
- ArrangedElement.cs
- InputQueue.cs
- Int32.cs
- DataBinder.cs
- StructuralObject.cs
- MimeObjectFactory.cs
- PersistenceTypeAttribute.cs
- RightsManagementSuppressedStream.cs
- CodeVariableDeclarationStatement.cs
- SerializationException.cs
- BindingWorker.cs
- SchemaNamespaceManager.cs
- DesignerActionService.cs
- Socket.cs
- ImportContext.cs
- UInt32Converter.cs
- ConfigurationLocation.cs
- AspNetCompatibilityRequirementsMode.cs
- QueueProcessor.cs
- CompositeDataBoundControl.cs
- HttpStaticObjectsCollectionWrapper.cs
- TraceContextEventArgs.cs
- HttpApplication.cs
- UnsafeNativeMethodsPenimc.cs
- Clipboard.cs
- JoinTreeSlot.cs
- ModelFunctionTypeElement.cs
- WorkflowApplicationException.cs
- TriggerBase.cs
- DetailsViewUpdateEventArgs.cs
- LogicalExpr.cs
- UnrecognizedPolicyAssertionElement.cs
- FileSystemWatcher.cs
- DashStyles.cs
- ToolstripProfessionalRenderer.cs
- altserialization.cs
- LogLogRecordEnumerator.cs
- GenericsInstances.cs
- HttpProtocolReflector.cs
- XmlArrayItemAttributes.cs
- HandlerBase.cs
- ZipIORawDataFileBlock.cs
- GatewayDefinition.cs
- TypeLibConverter.cs
- EnumBuilder.cs
- PackageProperties.cs
- CallbackException.cs
- ExpressionNode.cs
- ErrorWebPart.cs
- EntityConnection.cs
- ListenerUnsafeNativeMethods.cs
- Variant.cs
- CalendarAutoFormat.cs