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
- Model3D.cs
- ObjectDataSourceDisposingEventArgs.cs
- BitmapCacheBrush.cs
- ConfigurationManagerInternalFactory.cs
- ListDictionary.cs
- Task.cs
- EncoderParameter.cs
- XmlDataSourceNodeDescriptor.cs
- _RequestCacheProtocol.cs
- HostSecurityManager.cs
- ListView.cs
- ProxyGenerator.cs
- Facet.cs
- KeyedCollection.cs
- GroupStyle.cs
- TaskHelper.cs
- SqlDataSourceParameterParser.cs
- TableLayoutStyleCollection.cs
- OleDbStruct.cs
- CompilerResults.cs
- ScrollBarRenderer.cs
- CoreSwitches.cs
- ErrorTableItemStyle.cs
- CompoundFileStorageReference.cs
- ScriptDescriptor.cs
- DesignerTransactionCloseEvent.cs
- DrawListViewItemEventArgs.cs
- DashStyles.cs
- ProjectionCamera.cs
- DataObjectEventArgs.cs
- WebReferenceOptions.cs
- ClientType.cs
- XmlDocumentType.cs
- KnownTypesProvider.cs
- InputChannelAcceptor.cs
- AssociationEndMember.cs
- DelegatedStream.cs
- Handle.cs
- XmlCollation.cs
- ClickablePoint.cs
- BufferBuilder.cs
- Substitution.cs
- ResolveNameEventArgs.cs
- PropertyManager.cs
- GeneralTransform3DCollection.cs
- Calendar.cs
- XmlNavigatorFilter.cs
- PreservationFileWriter.cs
- OptimisticConcurrencyException.cs
- SoundPlayer.cs
- DecryptedHeader.cs
- MsmqIntegrationProcessProtocolHandler.cs
- EventDescriptor.cs
- AnimationException.cs
- ExpressionBinding.cs
- CryptoConfig.cs
- Atom10FeedFormatter.cs
- FtpRequestCacheValidator.cs
- TypedColumnHandler.cs
- ZoneButton.cs
- GetWinFXPath.cs
- AdjustableArrowCap.cs
- ReferencedAssembly.cs
- ValidationSummary.cs
- ImageFormatConverter.cs
- TreeNodeCollection.cs
- Dispatcher.cs
- BufferedGraphicsContext.cs
- SelectionChangedEventArgs.cs
- TableLayoutColumnStyleCollection.cs
- QuaternionAnimationUsingKeyFrames.cs
- WorkflowApplicationAbortedEventArgs.cs
- TempFiles.cs
- SqlDataSourceCommandEventArgs.cs
- _NetworkingPerfCounters.cs
- EntityDataSourceStatementEditorForm.cs
- CanonicalFontFamilyReference.cs
- HtmlForm.cs
- BindingNavigator.cs
- BindValidator.cs
- ListViewContainer.cs
- PageBuildProvider.cs
- MSG.cs
- DiscoveryEndpoint.cs
- OperandQuery.cs
- BaseCollection.cs
- Math.cs
- WebPartPersonalization.cs
- SpellerError.cs
- DesignerTransaction.cs
- IfJoinedCondition.cs
- ConfigurationFileMap.cs
- _NTAuthentication.cs
- AvtEvent.cs
- EntityViewGenerator.cs
- WorkflowServiceNamespace.cs
- XmlIncludeAttribute.cs
- CodeGenerator.cs
- AbsoluteQuery.cs
- MethodAccessException.cs