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
- MasterPageParser.cs
- XmlSchemaImporter.cs
- HMACMD5.cs
- TypedTableBase.cs
- OneToOneMappingSerializer.cs
- OrderedDictionary.cs
- InputBinder.cs
- LogStore.cs
- SignedXmlDebugLog.cs
- EditorZoneBase.cs
- Container.cs
- ImportOptions.cs
- AutoSizeToolBoxItem.cs
- LingerOption.cs
- Site.cs
- AssociationSetEnd.cs
- MethodImplAttribute.cs
- Inline.cs
- TextPenaltyModule.cs
- ObjectConverter.cs
- ComponentCollection.cs
- DataListAutoFormat.cs
- TimersDescriptionAttribute.cs
- RealizationContext.cs
- DocumentSequenceHighlightLayer.cs
- MostlySingletonList.cs
- IOThreadScheduler.cs
- ScriptReferenceEventArgs.cs
- XPathNode.cs
- DBConcurrencyException.cs
- ScrollItemProviderWrapper.cs
- DbDataReader.cs
- RegexGroupCollection.cs
- MembershipValidatePasswordEventArgs.cs
- SystemResources.cs
- OrderedDictionary.cs
- columnmapfactory.cs
- CellTreeNode.cs
- IteratorDescriptor.cs
- SecurityResources.cs
- SerializationSectionGroup.cs
- ColorContextHelper.cs
- SpanIndex.cs
- SortedList.cs
- SqlRowUpdatedEvent.cs
- ConstantSlot.cs
- AsyncDataRequest.cs
- FileSystemEventArgs.cs
- CssClassPropertyAttribute.cs
- ClientBuildManager.cs
- TextEditorDragDrop.cs
- MultilineStringEditor.cs
- SqlInternalConnection.cs
- SqlClientWrapperSmiStreamChars.cs
- ResourceReferenceExpression.cs
- GroupBoxAutomationPeer.cs
- DragDrop.cs
- StringUtil.cs
- SoapFault.cs
- CriticalHandle.cs
- SerializationSectionGroup.cs
- NotFiniteNumberException.cs
- Vector3D.cs
- ImageListStreamer.cs
- TabRenderer.cs
- ByteStack.cs
- Utils.cs
- DecodeHelper.cs
- HtmlEmptyTagControlBuilder.cs
- InputLanguageCollection.cs
- StateChangeEvent.cs
- LocatorPartList.cs
- EntityDataSourceUtil.cs
- ResourceSetExpression.cs
- Authorization.cs
- RoleExceptions.cs
- BitmapEffectInputConnector.cs
- XmlPropertyBag.cs
- Win32Exception.cs
- Win32SafeHandles.cs
- ThicknessAnimationBase.cs
- ControlFilterExpression.cs
- WindowsListViewGroup.cs
- DataObjectPastingEventArgs.cs
- DesignerTransaction.cs
- MimeXmlReflector.cs
- BeginStoryboard.cs
- BooleanStorage.cs
- _NegoStream.cs
- TypeListConverter.cs
- VectorAnimation.cs
- ReflectionTypeLoadException.cs
- SqlUDTStorage.cs
- DataTrigger.cs
- DetailsViewRowCollection.cs
- PackWebRequestFactory.cs
- DoubleAverageAggregationOperator.cs
- OdbcEnvironmentHandle.cs
- WSSecureConversationFeb2005.cs
- PackageRelationshipSelector.cs