Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripItemRenderEventArgs.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeEntryPointMethod.cs
- Tokenizer.cs
- DoubleIndependentAnimationStorage.cs
- DataShape.cs
- CodeIdentifier.cs
- FragmentQueryKB.cs
- StorageScalarPropertyMapping.cs
- SmiSettersStream.cs
- Reference.cs
- HttpCookiesSection.cs
- WhereaboutsReader.cs
- ColorMatrix.cs
- ObjRef.cs
- ExpandCollapsePattern.cs
- DbSetClause.cs
- ActionMessageFilterTable.cs
- DocumentGridPage.cs
- SmtpReplyReaderFactory.cs
- OAVariantLib.cs
- HeaderFilter.cs
- CodeStatement.cs
- Win32.cs
- TextServicesDisplayAttributePropertyRanges.cs
- VideoDrawing.cs
- SafeCloseHandleCritical.cs
- DataGridViewCellConverter.cs
- RegexGroup.cs
- Tokenizer.cs
- SystemTcpStatistics.cs
- CodeCatchClauseCollection.cs
- EdmProviderManifest.cs
- NamespaceMapping.cs
- ThumbButtonInfoCollection.cs
- TextLine.cs
- SqlDataSourceWizardForm.cs
- SynchronousChannel.cs
- UriExt.cs
- WebDescriptionAttribute.cs
- HostedTcpTransportManager.cs
- PenThreadPool.cs
- RichTextBoxAutomationPeer.cs
- OrderByBuilder.cs
- SubtreeProcessor.cs
- MsmqIntegrationMessageProperty.cs
- SynchronizedDispatch.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- FrameSecurityDescriptor.cs
- HttpClientProtocol.cs
- SecurityException.cs
- AuthenticationModulesSection.cs
- ByteKeyFrameCollection.cs
- XmlTextReader.cs
- TableDetailsCollection.cs
- QueryRewriter.cs
- Rights.cs
- ObjectToIdCache.cs
- ApplicationServicesHostFactory.cs
- Util.cs
- MdbDataFileEditor.cs
- DataChangedEventManager.cs
- DbDataReader.cs
- HtmlSelect.cs
- Query.cs
- MultiBinding.cs
- XPathNodeIterator.cs
- BitArray.cs
- XPathConvert.cs
- GACIdentityPermission.cs
- StsCommunicationException.cs
- CacheSection.cs
- MessageEventSubscriptionService.cs
- OdbcStatementHandle.cs
- SystemResourceHost.cs
- SqlMethodAttribute.cs
- TouchesCapturedWithinProperty.cs
- CommonObjectSecurity.cs
- DesignerAttribute.cs
- TypefaceMap.cs
- WorkflowViewStateService.cs
- ProcessThreadCollection.cs
- TextAction.cs
- ResourceReferenceExpression.cs
- JsonFormatGeneratorStatics.cs
- Label.cs
- XmlObjectSerializerReadContext.cs
- ListenerElementsCollection.cs
- TextFormatterHost.cs
- WebPartAddingEventArgs.cs
- ConfigurationManagerInternal.cs
- odbcmetadatacolumnnames.cs
- MD5.cs
- ListBindingConverter.cs
- GlobalAllocSafeHandle.cs
- XpsS0ValidatingLoader.cs
- OleDbPermission.cs
- SiteMapNodeItem.cs
- BevelBitmapEffect.cs
- SoapTransportImporter.cs
- OpenTypeCommon.cs
- DataGridViewCellStyleChangedEventArgs.cs