Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- 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
- SqlPersonalizationProvider.cs
- XmlTextReaderImplHelpers.cs
- ObjectTag.cs
- _Semaphore.cs
- XPathScanner.cs
- DesignTimeParseData.cs
- UnsafeCollabNativeMethods.cs
- WebPartConnectionsCancelVerb.cs
- FlowSwitchDesigner.xaml.cs
- PathFigure.cs
- InputProviderSite.cs
- ConditionalAttribute.cs
- ValidatingReaderNodeData.cs
- CalendarDay.cs
- PresentationSource.cs
- PropertyValueEditor.cs
- AesCryptoServiceProvider.cs
- GroupedContextMenuStrip.cs
- TreeNode.cs
- CharStorage.cs
- ComboBox.cs
- AppDomainShutdownMonitor.cs
- SamlAttributeStatement.cs
- DbTransaction.cs
- SoapExtension.cs
- Cell.cs
- SqlStream.cs
- AssemblyResourceLoader.cs
- ApplicationDirectory.cs
- DataSourceCache.cs
- EnumerationRangeValidationUtil.cs
- FigureParaClient.cs
- ManipulationPivot.cs
- DefaultTextStore.cs
- AlternateViewCollection.cs
- TextMessageEncoder.cs
- WorkflowTerminatedException.cs
- DtcInterfaces.cs
- TransformerConfigurationWizardBase.cs
- FacetDescriptionElement.cs
- FloaterParagraph.cs
- RemotingConfigParser.cs
- GetPageCompletedEventArgs.cs
- Fonts.cs
- SchemaMerger.cs
- EncoderFallback.cs
- XPathArrayIterator.cs
- ClassDataContract.cs
- MenuAutoFormat.cs
- GridViewUpdatedEventArgs.cs
- SQLDateTime.cs
- Rfc4050KeyFormatter.cs
- SrgsSubset.cs
- FormViewModeEventArgs.cs
- EntityProviderFactory.cs
- FrameworkTemplate.cs
- AccessViolationException.cs
- DecimalAnimationUsingKeyFrames.cs
- ADConnectionHelper.cs
- Mouse.cs
- Asn1IntegerConverter.cs
- TypeDescriptionProviderAttribute.cs
- PointHitTestParameters.cs
- SharedStatics.cs
- FormViewDeleteEventArgs.cs
- TableLayoutSettingsTypeConverter.cs
- OdbcCommandBuilder.cs
- TransformedBitmap.cs
- StringCollection.cs
- SiteOfOriginContainer.cs
- Msec.cs
- LinqDataSourceView.cs
- QueryCacheManager.cs
- StdValidatorsAndConverters.cs
- InstanceHandleConflictException.cs
- CheckPair.cs
- TableLayoutCellPaintEventArgs.cs
- FilteredAttributeCollection.cs
- DragEvent.cs
- FormsAuthentication.cs
- ActiveXSerializer.cs
- DocumentPageViewAutomationPeer.cs
- ServiceModelDictionary.cs
- WindowsEditBoxRange.cs
- HttpClientCertificate.cs
- SubclassTypeValidator.cs
- CacheSection.cs
- BamlLocalizabilityResolver.cs
- NavigationEventArgs.cs
- DataGridViewTextBoxCell.cs
- EventKeyword.cs
- SerializationSectionGroup.cs
- HtmlElement.cs
- XmlSchemaSimpleTypeList.cs
- InteropEnvironment.cs
- WebSysDefaultValueAttribute.cs
- DataViewListener.cs
- AttachmentCollection.cs
- ListViewItem.cs
- MenuRendererStandards.cs