Code:
/ DotNET / DotNET / 8.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
- EdmRelationshipRoleAttribute.cs
- DataGridViewCellConverter.cs
- ServiceMetadataPublishingElement.cs
- Font.cs
- GPPOINT.cs
- SaveWorkflowCommand.cs
- GeneralTransform2DTo3DTo2D.cs
- MiniModule.cs
- ForeignConstraint.cs
- coordinator.cs
- IPEndPointCollection.cs
- AppSettingsExpressionBuilder.cs
- GuidelineSet.cs
- Message.cs
- OdbcConnectionStringbuilder.cs
- ProgressBarBrushConverter.cs
- Crc32.cs
- FileLogRecordStream.cs
- CurrencyWrapper.cs
- StyleReferenceConverter.cs
- ClientCultureInfo.cs
- DbConnectionPoolCounters.cs
- HttpServerChannel.cs
- InputMethod.cs
- SerializationSectionGroup.cs
- RepeatButtonAutomationPeer.cs
- ParserHooks.cs
- PerfCounters.cs
- MatrixTransform3D.cs
- DummyDataSource.cs
- NumberFunctions.cs
- NotificationContext.cs
- DelegatedStream.cs
- MsmqTransportSecurityElement.cs
- TagMapCollection.cs
- ApplicationFileCodeDomTreeGenerator.cs
- MethodBuilderInstantiation.cs
- InteropBitmapSource.cs
- BitmapEffectDrawingContent.cs
- XmlBinaryWriter.cs
- FixedPage.cs
- SessionStateItemCollection.cs
- GridViewEditEventArgs.cs
- DataBoundControl.cs
- ValidationErrorCollection.cs
- InvalidOperationException.cs
- RegisteredExpandoAttribute.cs
- ProjectedWrapper.cs
- ButtonFieldBase.cs
- GifBitmapEncoder.cs
- WebPartTransformer.cs
- ToolStripOverflowButton.cs
- Quad.cs
- XmlUtil.cs
- SqlUserDefinedAggregateAttribute.cs
- Avt.cs
- XmlNodeComparer.cs
- FileIOPermission.cs
- RenamedEventArgs.cs
- ReflectionPermission.cs
- SortExpressionBuilder.cs
- DataSourceIDConverter.cs
- IERequestCache.cs
- RemotingServices.cs
- XamlReader.cs
- HtmlTableRowCollection.cs
- Attachment.cs
- RouteParameter.cs
- Base64Stream.cs
- JavaScriptString.cs
- TextEditorParagraphs.cs
- ClientBuildManagerCallback.cs
- DateTimeConstantAttribute.cs
- WorkflowValidationFailedException.cs
- TextLineResult.cs
- PropertyHelper.cs
- ServiceModelDictionary.cs
- HttpCachePolicy.cs
- EnterpriseServicesHelper.cs
- XmlComplianceUtil.cs
- StrokeCollectionDefaultValueFactory.cs
- PeerToPeerException.cs
- FixedSOMElement.cs
- PageParserFilter.cs
- CachedBitmap.cs
- WebPartZone.cs
- CodeArrayCreateExpression.cs
- TraceSource.cs
- WindowsFormsLinkLabel.cs
- Ops.cs
- MemberInitExpression.cs
- IconBitmapDecoder.cs
- StringBuilder.cs
- DataGridViewCellStyle.cs
- XmlAttribute.cs
- HtmlProps.cs
- HtmlMeta.cs
- SoapTypeAttribute.cs
- PropertyIDSet.cs
- CompilerScope.Storage.cs