Code:
/ FX-1434 / FX-1434 / 1.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
- SrgsDocument.cs
- Calendar.cs
- COM2ColorConverter.cs
- NamespaceQuery.cs
- IOException.cs
- RoleGroupCollectionEditor.cs
- SchemaMapping.cs
- Popup.cs
- UpdateManifestForBrowserApplication.cs
- DelegateArgumentReference.cs
- VariantWrapper.cs
- XamlParser.cs
- LoginName.cs
- ResizeGrip.cs
- HttpCacheVary.cs
- TargetException.cs
- InitializerFacet.cs
- InputScopeNameConverter.cs
- AnnotationAdorner.cs
- StringHandle.cs
- TableRow.cs
- CodeGen.cs
- DisplayNameAttribute.cs
- TrackingMemoryStream.cs
- ObjectListComponentEditor.cs
- ResourceReferenceKeyNotFoundException.cs
- Roles.cs
- DataServiceRequestException.cs
- UniqueEventHelper.cs
- ChannelManager.cs
- ViewManager.cs
- BulletDecorator.cs
- SetterBaseCollection.cs
- TableItemStyle.cs
- IgnoreFileBuildProvider.cs
- TraceContextEventArgs.cs
- PropertyChangeTracker.cs
- Error.cs
- InputProviderSite.cs
- ApplicationInterop.cs
- MarkupObject.cs
- DefaultPropertyAttribute.cs
- HashRepartitionEnumerator.cs
- CircleEase.cs
- RijndaelManagedTransform.cs
- VirtualPathUtility.cs
- XmlCharacterData.cs
- HighlightVisual.cs
- ACE.cs
- ExpressionsCollectionEditor.cs
- DataServiceQueryContinuation.cs
- FixedSOMTextRun.cs
- StdValidatorsAndConverters.cs
- NullExtension.cs
- TextEditor.cs
- MimeReflector.cs
- StateMachineSubscriptionManager.cs
- BoundsDrawingContextWalker.cs
- RotationValidation.cs
- SoapInteropTypes.cs
- RenamedEventArgs.cs
- TextEditorTables.cs
- XmlReaderDelegator.cs
- LoopExpression.cs
- Char.cs
- arc.cs
- SafeBitVector32.cs
- ExtendedPropertyCollection.cs
- FormViewDeletedEventArgs.cs
- PanelStyle.cs
- Ipv6Element.cs
- ProfilePropertySettings.cs
- DataTransferEventArgs.cs
- XhtmlBasicValidationSummaryAdapter.cs
- httpapplicationstate.cs
- PropertyGridEditorPart.cs
- DataGridViewAccessibleObject.cs
- ActivityCollectionMarkupSerializer.cs
- BufferedWebEventProvider.cs
- FontFamilyValueSerializer.cs
- SharedUtils.cs
- AddInToken.cs
- DashStyle.cs
- AppDomainAttributes.cs
- TextEditorCopyPaste.cs
- Int16Animation.cs
- WebPartVerbCollection.cs
- SpellerStatusTable.cs
- EventSetter.cs
- DetailsViewPageEventArgs.cs
- ComponentRenameEvent.cs
- SimpleApplicationHost.cs
- MenuBindingsEditorForm.cs
- PrinterUnitConvert.cs
- WindowsImpersonationContext.cs
- AutoFocusStyle.xaml.cs
- CodeGroup.cs
- FormViewRow.cs
- ObjectResult.cs
- SendKeys.cs