Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- XmlnsDictionary.cs
- _ContextAwareResult.cs
- PostBackOptions.cs
- XmlMemberMapping.cs
- IQueryable.cs
- PenCursorManager.cs
- DocumentManager.cs
- EventLogEntryCollection.cs
- AuthenticationException.cs
- FormViewPageEventArgs.cs
- ContentFileHelper.cs
- CellConstant.cs
- ControlIdConverter.cs
- MarkerProperties.cs
- PathFigureCollectionValueSerializer.cs
- EventManager.cs
- InheritablePropertyChangeInfo.cs
- ListViewPagedDataSource.cs
- PageContentCollection.cs
- FaultContext.cs
- Translator.cs
- BufferBuilder.cs
- RemotingServices.cs
- NegatedConstant.cs
- GlyphElement.cs
- AutomationPropertyInfo.cs
- PackageRelationship.cs
- TrackingAnnotationCollection.cs
- WindowInteractionStateTracker.cs
- EventManager.cs
- CorrelationRequestContext.cs
- CodeTypeReference.cs
- ControlTemplate.cs
- WindowsSlider.cs
- URLIdentityPermission.cs
- ZipFileInfoCollection.cs
- CompareValidator.cs
- CommandHelper.cs
- ToggleProviderWrapper.cs
- Rotation3D.cs
- IdentityReference.cs
- DrawingContextDrawingContextWalker.cs
- StoragePropertyMapping.cs
- EntityTypeEmitter.cs
- WindowsFormsHost.cs
- Camera.cs
- GenericPrincipal.cs
- RowsCopiedEventArgs.cs
- DataGridViewSortCompareEventArgs.cs
- ArrayList.cs
- SimpleType.cs
- RectConverter.cs
- LinkLabelLinkClickedEvent.cs
- TextSelectionProcessor.cs
- TypeConverterAttribute.cs
- TemplatePartAttribute.cs
- DataGridViewRowCancelEventArgs.cs
- RawStylusInputReport.cs
- PersonalizationProviderHelper.cs
- XmlWrappingReader.cs
- ArgumentDirectionHelper.cs
- HtmlInputImage.cs
- KnownBoxes.cs
- BinaryNode.cs
- StateMachine.cs
- Utils.cs
- QueueNameHelper.cs
- RoutedUICommand.cs
- GroupDescription.cs
- ConnectionOrientedTransportChannelFactory.cs
- XmlSignificantWhitespace.cs
- DataFormat.cs
- X509Extension.cs
- ValidatingPropertiesEventArgs.cs
- DataSet.cs
- RelationshipConstraintValidator.cs
- TypeUsage.cs
- ContentValidator.cs
- CFStream.cs
- MobileCategoryAttribute.cs
- SystemTcpConnection.cs
- UpdateTranslator.cs
- GradientSpreadMethodValidation.cs
- WebRequestModulesSection.cs
- Accessible.cs
- IntellisenseTextBox.cs
- ColumnReorderedEventArgs.cs
- RemotingServices.cs
- XPathChildIterator.cs
- SetterBaseCollection.cs
- XmlSchemaAttribute.cs
- MultipartContentParser.cs
- _NetRes.cs
- GenericPrincipal.cs
- PageStatePersister.cs
- WinEventHandler.cs
- XPathDocumentNavigator.cs
- DbgCompiler.cs
- RawStylusInputCustomData.cs
- ConcurrentQueue.cs