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
- DropDownList.cs
- TextElementCollection.cs
- DocumentApplication.cs
- SqlVisitor.cs
- UniqueEventHelper.cs
- CollectionDataContractAttribute.cs
- RegexRunnerFactory.cs
- XmlSchemaObjectCollection.cs
- PeerApplication.cs
- Convert.cs
- GridViewSelectEventArgs.cs
- ToolStripPanelRow.cs
- RoleGroupCollectionEditor.cs
- DoubleCollectionValueSerializer.cs
- ListViewUpdateEventArgs.cs
- GridLength.cs
- ComponentTray.cs
- PointLight.cs
- BamlTreeMap.cs
- XmlWhitespace.cs
- DecoderExceptionFallback.cs
- MaskPropertyEditor.cs
- MonthChangedEventArgs.cs
- ReadWriteObjectLock.cs
- CompatibleComparer.cs
- WhitespaceSignificantCollectionAttribute.cs
- SvcMapFileLoader.cs
- XmlBoundElement.cs
- LoginCancelEventArgs.cs
- RepeatBehavior.cs
- TextParagraph.cs
- DebugViewWriter.cs
- StrokeCollectionDefaultValueFactory.cs
- SqlFormatter.cs
- ComponentDispatcher.cs
- TextAnchor.cs
- XmlExpressionDumper.cs
- Regex.cs
- Oid.cs
- Rotation3DAnimationBase.cs
- ReaderOutput.cs
- CodePropertyReferenceExpression.cs
- EntityContainerEmitter.cs
- AnimationClockResource.cs
- ColorEditor.cs
- HttpListenerPrefixCollection.cs
- DeleteMemberBinder.cs
- _TimerThread.cs
- NominalTypeEliminator.cs
- KeyNotFoundException.cs
- FileRegion.cs
- KeyGestureValueSerializer.cs
- CompilerResults.cs
- SharedUtils.cs
- Compiler.cs
- DefaultMergeHelper.cs
- ColorInterpolationModeValidation.cs
- SystemIPv4InterfaceProperties.cs
- DecimalStorage.cs
- SqlBulkCopyColumnMapping.cs
- BaseCollection.cs
- CqlLexer.cs
- ExtendedProperty.cs
- UIntPtr.cs
- ServerIdentity.cs
- SyntaxCheck.cs
- XPathSelectionIterator.cs
- FrugalMap.cs
- OutputCacheProfile.cs
- XmlUTF8TextReader.cs
- TransactionContextValidator.cs
- CodeGeneratorOptions.cs
- ServiceDescriptionSerializer.cs
- SqlConnectionString.cs
- RoleGroup.cs
- ISO2022Encoding.cs
- Point3DAnimationBase.cs
- TransformerTypeCollection.cs
- WsatConfiguration.cs
- BitVector32.cs
- SoapObjectInfo.cs
- HttpListenerException.cs
- FilteredDataSetHelper.cs
- MarginsConverter.cs
- DocumentSchemaValidator.cs
- TextTreeInsertUndoUnit.cs
- CalendarDateRange.cs
- FrameworkContentElement.cs
- MemberInfoSerializationHolder.cs
- DataTableMapping.cs
- PageThemeCodeDomTreeGenerator.cs
- TextDecorationCollectionConverter.cs
- TripleDES.cs
- DBDataPermissionAttribute.cs
- IntPtr.cs
- OleServicesContext.cs
- ImageBrush.cs
- ConfigXmlComment.cs
- _AutoWebProxyScriptHelper.cs
- RawContentTypeMapper.cs