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
- securitycriticaldataformultiplegetandset.cs
- BooleanSwitch.cs
- DateTimeFormatInfo.cs
- ReadOnlyCollectionBase.cs
- InkCollectionBehavior.cs
- EventData.cs
- WindowsButton.cs
- IdentitySection.cs
- PipelineModuleStepContainer.cs
- StrokeFIndices.cs
- MessageVersionConverter.cs
- SmtpFailedRecipientException.cs
- ModelItemCollectionImpl.cs
- AppManager.cs
- ArrayEditor.cs
- QilTargetType.cs
- SettingsPropertyValue.cs
- ServiceNameElement.cs
- PageBreakRecord.cs
- RelationshipSet.cs
- SqlCommand.cs
- D3DImage.cs
- UpDownBase.cs
- PaginationProgressEventArgs.cs
- DataBoundControl.cs
- KnownBoxes.cs
- ListViewItem.cs
- ReflectEventDescriptor.cs
- InstallerTypeAttribute.cs
- ToolTipAutomationPeer.cs
- TextReader.cs
- ListViewAutomationPeer.cs
- IntegerValidator.cs
- ObjectTypeMapping.cs
- HtmlDocument.cs
- Dump.cs
- CellRelation.cs
- OAVariantLib.cs
- BindingListCollectionView.cs
- SoapElementAttribute.cs
- SmiGettersStream.cs
- ContextInformation.cs
- Pair.cs
- XmlBinaryReader.cs
- LabelEditEvent.cs
- TableRowCollection.cs
- OleCmdHelper.cs
- rsa.cs
- FontUnit.cs
- PropertyChangedEventArgs.cs
- GiveFeedbackEvent.cs
- XmlAttributeOverrides.cs
- AuthStoreRoleProvider.cs
- UnionExpr.cs
- Bits.cs
- ProtocolException.cs
- ChangePassword.cs
- TiffBitmapDecoder.cs
- DataSourceIDConverter.cs
- SRGSCompiler.cs
- MethodCallConverter.cs
- Timeline.cs
- Model3D.cs
- ToolStripLocationCancelEventArgs.cs
- PointAnimationUsingKeyFrames.cs
- CachedTypeface.cs
- WindowsBrush.cs
- OleDbReferenceCollection.cs
- DropShadowEffect.cs
- ConstraintEnumerator.cs
- DataStorage.cs
- ProcessModelInfo.cs
- LinkButton.cs
- MarginCollapsingState.cs
- HealthMonitoringSectionHelper.cs
- complextypematerializer.cs
- WsdlInspector.cs
- StateItem.cs
- PathFigureCollectionConverter.cs
- XsltArgumentList.cs
- XmlILAnnotation.cs
- DynamicResourceExtensionConverter.cs
- TextRenderer.cs
- Vertex.cs
- Point3DCollection.cs
- HttpChannelHelper.cs
- AsyncSerializedWorker.cs
- ErrorWrapper.cs
- ListenerTraceUtility.cs
- NamespaceEmitter.cs
- UrlAuthorizationModule.cs
- ProtocolsConfiguration.cs
- SQLInt16.cs
- DataTemplate.cs
- WebPartsPersonalizationAuthorization.cs
- DesignBinding.cs
- EventMap.cs
- WorkflowServiceAttributesTypeConverter.cs
- Brushes.cs
- MultilineStringConverter.cs