Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StrongBox.cs
- MulticastOption.cs
- BackgroundWorker.cs
- SafeThreadHandle.cs
- WebContext.cs
- DiagnosticsConfiguration.cs
- X509ScopedServiceCertificateElement.cs
- StreamingContext.cs
- RegexGroupCollection.cs
- TextTrailingCharacterEllipsis.cs
- HtmlWindow.cs
- Executor.cs
- ErrorWebPart.cs
- Random.cs
- BitmapEffect.cs
- KeyEventArgs.cs
- BinaryObjectWriter.cs
- WebPartCatalogCloseVerb.cs
- _SSPISessionCache.cs
- EncodingInfo.cs
- MenuAutomationPeer.cs
- StrokeNodeOperations.cs
- MembershipSection.cs
- WebScriptMetadataMessageEncoderFactory.cs
- ChangesetResponse.cs
- QilScopedVisitor.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SecurityPermission.cs
- XPathNodeIterator.cs
- SmtpNtlmAuthenticationModule.cs
- TextLine.cs
- StatusBarDrawItemEvent.cs
- ConditionalWeakTable.cs
- SchemaTypeEmitter.cs
- OletxDependentTransaction.cs
- ResolveRequestResponseAsyncResult.cs
- AcceleratedTokenProvider.cs
- ManipulationVelocities.cs
- BindingCompleteEventArgs.cs
- HtmlInputImage.cs
- WebServiceAttribute.cs
- CommandPlan.cs
- DataException.cs
- AsmxEndpointPickerExtension.cs
- Models.cs
- SQLSingleStorage.cs
- SqlFileStream.cs
- ResourcesBuildProvider.cs
- TableRowCollection.cs
- DbParameterCollection.cs
- WinInetCache.cs
- RemotingException.cs
- WebPartVerbCollection.cs
- TextParagraphProperties.cs
- OleDbConnectionFactory.cs
- XamlTreeBuilder.cs
- ServiceOperationWrapper.cs
- CompilerParameters.cs
- ThumbAutomationPeer.cs
- InfoCardBinaryReader.cs
- SchemaConstraints.cs
- EmbeddedMailObjectsCollection.cs
- ArrayExtension.cs
- Freezable.cs
- ToolboxDataAttribute.cs
- InputBindingCollection.cs
- TabletDevice.cs
- CellParagraph.cs
- Array.cs
- ResourceDescriptionAttribute.cs
- Aggregates.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- TimeSpanValidatorAttribute.cs
- TabControlCancelEvent.cs
- OTFRasterizer.cs
- ModelProperty.cs
- RuntimeVariablesExpression.cs
- RadioButtonStandardAdapter.cs
- ClientBuildManager.cs
- ConstructorExpr.cs
- DateTimeConverter2.cs
- AssemblyResourceLoader.cs
- AdjustableArrowCap.cs
- ResourceReferenceKeyNotFoundException.cs
- ResourceContainer.cs
- SettingsAttributeDictionary.cs
- AlternateViewCollection.cs
- TimeSpanSecondsConverter.cs
- __Filters.cs
- SendMailErrorEventArgs.cs
- Internal.cs
- DbProviderFactories.cs
- AnonymousIdentificationModule.cs
- cookieexception.cs
- SchemeSettingElementCollection.cs
- ContextProperty.cs
- SqlBulkCopyColumnMappingCollection.cs
- RelatedPropertyManager.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ThaiBuddhistCalendar.cs