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
- DataSourceGroupCollection.cs
- DataGridViewCellValidatingEventArgs.cs
- MenuAutomationPeer.cs
- SchemaNamespaceManager.cs
- LogicalChannelCollection.cs
- Tablet.cs
- System.Data.OracleClient_BID.cs
- TypeHelper.cs
- _CommandStream.cs
- HotSpotCollectionEditor.cs
- WebPartCatalogAddVerb.cs
- DetailsViewDeletedEventArgs.cs
- SourceExpressionException.cs
- EqualityArray.cs
- SqlDataSourceAdvancedOptionsForm.cs
- BindingExpressionBase.cs
- DataKey.cs
- ItemPager.cs
- DBConnection.cs
- RealProxy.cs
- StrokeCollectionConverter.cs
- MarshalByValueComponent.cs
- IDictionary.cs
- ProvidersHelper.cs
- Parser.cs
- DataPagerFieldCommandEventArgs.cs
- MissingMethodException.cs
- FileDialogCustomPlace.cs
- DrawingAttributeSerializer.cs
- WindowsScrollBar.cs
- StateValidator.cs
- NativeMethods.cs
- CommandManager.cs
- SequentialActivityDesigner.cs
- DebugHandleTracker.cs
- BindingMAnagerBase.cs
- ScriptServiceAttribute.cs
- ProvidersHelper.cs
- InternalResources.cs
- AttributeEmitter.cs
- UdpChannelListener.cs
- DummyDataSource.cs
- RowToFieldTransformer.cs
- RootBuilder.cs
- ManagedIStream.cs
- TargetControlTypeAttribute.cs
- BoundField.cs
- CounterSample.cs
- ReadOnlyHierarchicalDataSource.cs
- DisplayMemberTemplateSelector.cs
- Code.cs
- StylusOverProperty.cs
- RPIdentityRequirement.cs
- ReliabilityContractAttribute.cs
- TextAction.cs
- UidManager.cs
- PaperSize.cs
- FixedPageStructure.cs
- RuntimeConfigLKG.cs
- ArgumentNullException.cs
- Camera.cs
- CanExecuteRoutedEventArgs.cs
- ClientTarget.cs
- VarRemapper.cs
- IfAction.cs
- DataViewSetting.cs
- CustomErrorCollection.cs
- PagedDataSource.cs
- CreateRefExpr.cs
- DataControlLinkButton.cs
- DataRecordObjectView.cs
- AssemblyHash.cs
- ParserHooks.cs
- DiscoveryRequestHandler.cs
- AncillaryOps.cs
- FamilyTypefaceCollection.cs
- ManagedIStream.cs
- SqlDataSourceCommandParser.cs
- PageThemeCodeDomTreeGenerator.cs
- DbConnectionFactory.cs
- LoadedOrUnloadedOperation.cs
- ListViewSelectEventArgs.cs
- ToolStripLabel.cs
- StorageBasedPackageProperties.cs
- SchemaTypeEmitter.cs
- MetadataPropertyAttribute.cs
- BaseProcessProtocolHandler.cs
- Base64Stream.cs
- HttpClientChannel.cs
- NTAccount.cs
- TreeNode.cs
- DbExpressionVisitor.cs
- VisualBrush.cs
- GlobalProxySelection.cs
- StateBag.cs
- WindowsListBox.cs
- Trace.cs
- RemotingConfigParser.cs
- IriParsingElement.cs
- OdbcTransaction.cs