Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripItemRenderEventArgs.cs / 1 / ToolStripItemRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// public class ToolStripItemRenderEventArgs : EventArgs { private ToolStripItem item = null; private Graphics graphics = null; /// /// /// This class represents all the information to render the winbar /// public ToolStripItemRenderEventArgs(Graphics g, ToolStripItem item) { this.item = item; this.graphics = g; } ////// /// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// /// the item to draw /// public ToolStripItem Item { get { return item; } } ////// /// The toolstrip the item is currently parented to /// public ToolStrip ToolStrip { get { return item.ParentInternal; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// public class ToolStripItemRenderEventArgs : EventArgs { private ToolStripItem item = null; private Graphics graphics = null; /// /// /// This class represents all the information to render the winbar /// public ToolStripItemRenderEventArgs(Graphics g, ToolStripItem item) { this.item = item; this.graphics = g; } ////// /// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// /// the item to draw /// public ToolStripItem Item { get { return item; } } ////// /// The toolstrip the item is currently parented to /// public ToolStrip ToolStrip { get { return item.ParentInternal; } } } } // 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
- DispatcherSynchronizationContext.cs
- KnownIds.cs
- InputLanguageSource.cs
- DSASignatureDeformatter.cs
- _NtlmClient.cs
- SafeProcessHandle.cs
- TreeViewItemAutomationPeer.cs
- EventToken.cs
- ClientScriptItemCollection.cs
- ClaimTypeElement.cs
- XmlSignatureManifest.cs
- Automation.cs
- SystemPens.cs
- RsaSecurityToken.cs
- EventLogEntry.cs
- QueuePropertyVariants.cs
- HtmlInputSubmit.cs
- CodeCastExpression.cs
- XmlQualifiedName.cs
- RectAnimationBase.cs
- RouteParser.cs
- DateTimeValueSerializer.cs
- EntryWrittenEventArgs.cs
- OleDbConnectionInternal.cs
- OleDbTransaction.cs
- NextPreviousPagerField.cs
- Ipv6Element.cs
- LogExtent.cs
- NavigatorInput.cs
- DefaultTraceListener.cs
- BitmapDownload.cs
- BitStack.cs
- _UncName.cs
- SiteMapNode.cs
- GuidTagList.cs
- EntityWrapper.cs
- EditorServiceContext.cs
- LockedBorderGlyph.cs
- CapabilitiesPattern.cs
- SimpleMailWebEventProvider.cs
- OleDbErrorCollection.cs
- XmlSignificantWhitespace.cs
- HtmlInputImage.cs
- XmlValueConverter.cs
- ConfigurationPropertyAttribute.cs
- ConstructorNeedsTagAttribute.cs
- BatchServiceHost.cs
- NTAccount.cs
- GlobalizationAssembly.cs
- SqlCacheDependencySection.cs
- InsufficientMemoryException.cs
- SafeMarshalContext.cs
- GlobalizationAssembly.cs
- COM2TypeInfoProcessor.cs
- DiscoveryRequestHandler.cs
- SqlDuplicator.cs
- SqlUdtInfo.cs
- SynchronizationLockException.cs
- NameValuePair.cs
- DesignSurfaceServiceContainer.cs
- XmlUrlResolver.cs
- AesCryptoServiceProvider.cs
- InputLanguageEventArgs.cs
- ObjectReferenceStack.cs
- GeometryCollection.cs
- SecurityUtils.cs
- WindowsGraphicsCacheManager.cs
- StatusBar.cs
- XmlSiteMapProvider.cs
- Mappings.cs
- HttpCookiesSection.cs
- EventHandlingScope.cs
- Utils.cs
- WebPartEditorOkVerb.cs
- DataGridViewCell.cs
- Image.cs
- ComponentDesigner.cs
- TextDecorationCollectionConverter.cs
- CssStyleCollection.cs
- NameValueSectionHandler.cs
- LedgerEntry.cs
- ColorTransformHelper.cs
- DynamicDocumentPaginator.cs
- SelectedDatesCollection.cs
- TextMarkerSource.cs
- XmlSchemaProviderAttribute.cs
- COM2PictureConverter.cs
- DesignerTransactionCloseEvent.cs
- IntSecurity.cs
- TransformProviderWrapper.cs
- ObjectCloneHelper.cs
- PropertyPathWorker.cs
- SafeRightsManagementSessionHandle.cs
- ArithmeticLiteral.cs
- XmlWriter.cs
- MasterPageBuildProvider.cs
- ContainerFilterService.cs
- EarlyBoundInfo.cs
- MouseButtonEventArgs.cs
- MorphHelper.cs