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
- Graphics.cs
- RIPEMD160Managed.cs
- DebugTracing.cs
- DocComment.cs
- StorageSetMapping.cs
- HtmlMobileTextWriter.cs
- HttpServerVarsCollection.cs
- ZoneLinkButton.cs
- ApplicationGesture.cs
- X509CertificateInitiatorServiceCredential.cs
- ProjectionCamera.cs
- SQLUtility.cs
- ZipFileInfoCollection.cs
- BamlRecordReader.cs
- MemoryStream.cs
- SqlBulkCopyColumnMapping.cs
- TimeManager.cs
- TrackingMemoryStreamFactory.cs
- AttributeQuery.cs
- CodeDomConfigurationHandler.cs
- HyperLinkColumn.cs
- CodeLinePragma.cs
- MemberRelationshipService.cs
- FixedTextSelectionProcessor.cs
- FilterException.cs
- DataGridCaption.cs
- ImageAnimator.cs
- EventBuilder.cs
- StringAnimationBase.cs
- ReadOnlyPropertyMetadata.cs
- TreeNodeBinding.cs
- IdentityValidationException.cs
- RawStylusInput.cs
- IndexedEnumerable.cs
- AnimationException.cs
- MemoryMappedFile.cs
- MULTI_QI.cs
- StopStoryboard.cs
- ViewEventArgs.cs
- TabItemAutomationPeer.cs
- WorkflowWebService.cs
- Evidence.cs
- FixUp.cs
- NavigationCommands.cs
- columnmapfactory.cs
- XmlValidatingReader.cs
- DataGridState.cs
- OlePropertyStructs.cs
- OracleParameterCollection.cs
- WindowsGraphicsWrapper.cs
- AdditionalEntityFunctions.cs
- CopyOnWriteList.cs
- WorkflowHostingResponseContext.cs
- ServiceEndpointCollection.cs
- EventProviderWriter.cs
- WebPartCollection.cs
- SystemWebCachingSectionGroup.cs
- OptimizedTemplateContent.cs
- ElementNotEnabledException.cs
- QuaternionValueSerializer.cs
- VariableDesigner.xaml.cs
- Renderer.cs
- EntityDataSourceColumn.cs
- RootProfilePropertySettingsCollection.cs
- CodeThrowExceptionStatement.cs
- PointCollection.cs
- ScalarType.cs
- Tablet.cs
- TaskHelper.cs
- Encoder.cs
- ActionItem.cs
- DataControlCommands.cs
- WindowsSolidBrush.cs
- ClientUrlResolverWrapper.cs
- QuinticEase.cs
- MsmqTransportSecurityElement.cs
- PrivilegeNotHeldException.cs
- DrawingVisualDrawingContext.cs
- NumericUpDownAcceleration.cs
- FreezableDefaultValueFactory.cs
- FixedPosition.cs
- TableLayoutSettingsTypeConverter.cs
- XmlNamedNodeMap.cs
- EntityConnectionStringBuilder.cs
- DataTableReader.cs
- TypedElement.cs
- NetworkInformationException.cs
- FilteredReadOnlyMetadataCollection.cs
- FileIOPermission.cs
- ParallelTimeline.cs
- SafeFindHandle.cs
- GridViewCellAutomationPeer.cs
- DeferredSelectedIndexReference.cs
- StringUtil.cs
- Selection.cs
- SequentialWorkflowHeaderFooter.cs
- loginstatus.cs
- LoadedOrUnloadedOperation.cs
- XmlUtil.cs
- ValidatorUtils.cs