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
- BufferModeSettings.cs
- DoubleLink.cs
- ManifestResourceInfo.cs
- ObjectListCommand.cs
- ScriptBehaviorDescriptor.cs
- SrgsGrammar.cs
- SQLStringStorage.cs
- WriteFileContext.cs
- ConnectionString.cs
- webeventbuffer.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- CodeComment.cs
- Int16AnimationBase.cs
- SHA512.cs
- BoundPropertyEntry.cs
- _UncName.cs
- ListViewItem.cs
- AssociationSet.cs
- GPPOINT.cs
- DefaultValidator.cs
- PeerTransportElement.cs
- DataBindingExpressionBuilder.cs
- WindowsFormsSynchronizationContext.cs
- MailMessage.cs
- TextBoxBase.cs
- StringAnimationBase.cs
- ValidateNames.cs
- mansign.cs
- PeerDuplexChannelListener.cs
- SpanIndex.cs
- DecimalConverter.cs
- LambdaCompiler.Address.cs
- XmlTextReaderImpl.cs
- SystemIcmpV6Statistics.cs
- CfgParser.cs
- DataGridViewButtonCell.cs
- metadatamappinghashervisitor.cs
- DefaultDialogButtons.cs
- Publisher.cs
- LayoutTable.cs
- EndpointAddressMessageFilterTable.cs
- RegexWorker.cs
- DiscreteKeyFrames.cs
- XmlSchemaInfo.cs
- Win32SafeHandles.cs
- HostedTransportConfigurationBase.cs
- LineInfo.cs
- CompareInfo.cs
- DirectoryInfo.cs
- BoundPropertyEntry.cs
- CommentGlyph.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- SatelliteContractVersionAttribute.cs
- Translator.cs
- RealProxy.cs
- CriticalFileToken.cs
- StringFormat.cs
- StoreItemCollection.Loader.cs
- ExtensionQuery.cs
- PassportAuthentication.cs
- DataControlButton.cs
- AttributeProviderAttribute.cs
- LeaseManager.cs
- RightsDocument.cs
- StaticFileHandler.cs
- objectquery_tresulttype.cs
- QueryOpeningEnumerator.cs
- HandleRef.cs
- WebEventTraceProvider.cs
- HttpCookie.cs
- VirtualPathUtility.cs
- FloatSumAggregationOperator.cs
- ListenerConfig.cs
- unsafenativemethodstextservices.cs
- EventListenerClientSide.cs
- EditorZoneBase.cs
- WebRequestModuleElement.cs
- BuildResult.cs
- CorePropertiesFilter.cs
- UDPClient.cs
- Evidence.cs
- SerializationHelper.cs
- HybridDictionary.cs
- AppModelKnownContentFactory.cs
- RenameRuleObjectDialog.Designer.cs
- ProjectionNode.cs
- WebUtil.cs
- securitycriticaldata.cs
- SmiEventSink.cs
- ParentQuery.cs
- KeyBinding.cs
- WebPartCloseVerb.cs
- NetworkInterface.cs
- DelegatingConfigHost.cs
- ToolboxCategoryItems.cs
- RefreshEventArgs.cs
- LayoutEditorPart.cs
- CodeStatementCollection.cs
- Collection.cs
- IconBitmapDecoder.cs