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
- Utils.cs
- HiddenField.cs
- ZipIOLocalFileHeader.cs
- BufferedGraphicsContext.cs
- SoapCommonClasses.cs
- XmlNodeReader.cs
- StylusCollection.cs
- DecimalStorage.cs
- SoapSchemaImporter.cs
- TextServicesDisplayAttribute.cs
- FormViewRow.cs
- DataGridTable.cs
- CompilationLock.cs
- DesignTimeTemplateParser.cs
- DefaultShape.cs
- GridViewRow.cs
- RegexBoyerMoore.cs
- RoutedEventValueSerializer.cs
- UnsafeNativeMethods.cs
- HttpListenerContext.cs
- ServiceCredentialsElement.cs
- ManagedIStream.cs
- OletxVolatileEnlistment.cs
- ColorDialog.cs
- WsiProfilesElementCollection.cs
- ReplacementText.cs
- Parser.cs
- DesignerLoader.cs
- ParameterCollection.cs
- AsyncCompletedEventArgs.cs
- DocComment.cs
- DataGridViewImageCell.cs
- EntityContainerEmitter.cs
- MailDefinition.cs
- UnsafeNativeMethods.cs
- EntitySetRetriever.cs
- MappingItemCollection.cs
- DeviceContexts.cs
- SoapConverter.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- Size3DValueSerializer.cs
- TypedDataSourceCodeGenerator.cs
- TextRange.cs
- StringStorage.cs
- HashAlgorithm.cs
- TextSchema.cs
- FixedFlowMap.cs
- File.cs
- CacheMode.cs
- SelectedDatesCollection.cs
- JsonReaderDelegator.cs
- UnitySerializationHolder.cs
- LinkConverter.cs
- TabletCollection.cs
- XamlSerializerUtil.cs
- TreeIterators.cs
- Dynamic.cs
- ProvideValueServiceProvider.cs
- ConfigurationValidatorAttribute.cs
- Thumb.cs
- ItemCheckEvent.cs
- ThousandthOfEmRealDoubles.cs
- TripleDESCryptoServiceProvider.cs
- TriggerActionCollection.cs
- ListItemCollection.cs
- SqlMethodTransformer.cs
- ThicknessAnimation.cs
- IsolatedStorageFileStream.cs
- SmiSettersStream.cs
- DateTimeValueSerializerContext.cs
- PointHitTestParameters.cs
- ListItemParagraph.cs
- FixedSOMGroup.cs
- FirstMatchCodeGroup.cs
- CellIdBoolean.cs
- XmlCharType.cs
- ActivationArguments.cs
- GetPageNumberCompletedEventArgs.cs
- TextFormatterContext.cs
- Image.cs
- IOException.cs
- MobileResource.cs
- ScrollProviderWrapper.cs
- ConfigurationLoaderException.cs
- BinaryHeap.cs
- XmlDocumentFragment.cs
- AxisAngleRotation3D.cs
- UrlMappingCollection.cs
- HostProtectionException.cs
- GB18030Encoding.cs
- PngBitmapEncoder.cs
- Stroke.cs
- InputMethodStateTypeInfo.cs
- ClickablePoint.cs
- ToolStripScrollButton.cs
- ProviderBase.cs
- MsmqIntegrationBindingCollectionElement.cs
- RepeaterItem.cs
- KnownTypeDataContractResolver.cs
- ToolStripItemClickedEventArgs.cs