Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BuildProviderAppliesToAttribute.cs
- SafeHandles.cs
- DeobfuscatingStream.cs
- WindowsContainer.cs
- HttpDebugHandler.cs
- SimpleModelProvider.cs
- ObjectConverter.cs
- ServicePointManager.cs
- TickBar.cs
- WindowsListViewItemCheckBox.cs
- XmlSchemaValidator.cs
- DataServiceOperationContext.cs
- FunctionQuery.cs
- BaseCodePageEncoding.cs
- RawTextInputReport.cs
- DebuggerAttributes.cs
- StringStorage.cs
- InheritanceService.cs
- TextDecorationCollection.cs
- RuntimeIdentifierPropertyAttribute.cs
- DbReferenceCollection.cs
- HMACRIPEMD160.cs
- XPathNodeIterator.cs
- Sql8ExpressionRewriter.cs
- embossbitmapeffect.cs
- FontWeight.cs
- ITextView.cs
- UnsignedPublishLicense.cs
- TextureBrush.cs
- CancelEventArgs.cs
- MemoryRecordBuffer.cs
- AlternateViewCollection.cs
- ChangeDirector.cs
- MessageSmuggler.cs
- ObjectDataSourceView.cs
- AsnEncodedData.cs
- TemplateColumn.cs
- StaticExtensionConverter.cs
- ViewStateException.cs
- CryptoConfig.cs
- Dictionary.cs
- TimeEnumHelper.cs
- DocumentViewerHelper.cs
- SerializationObjectManager.cs
- DataGridViewButtonColumn.cs
- InputScopeManager.cs
- SR.cs
- DataViewSettingCollection.cs
- StatusBar.cs
- DataKeyPropertyAttribute.cs
- QueryCursorEventArgs.cs
- StrongTypingException.cs
- XmlCustomFormatter.cs
- AppDomainFactory.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- MulticastOption.cs
- CompiledIdentityConstraint.cs
- SharedPerformanceCounter.cs
- DataObjectMethodAttribute.cs
- ProfileSettingsCollection.cs
- LinqDataSourceView.cs
- ProvidePropertyAttribute.cs
- DataGridViewCellEventArgs.cs
- UIPropertyMetadata.cs
- WebDisplayNameAttribute.cs
- TypeSystemProvider.cs
- PersonalizableTypeEntry.cs
- ConfigXmlCDataSection.cs
- SafeEventHandle.cs
- ViewLoader.cs
- HebrewNumber.cs
- PasswordPropertyTextAttribute.cs
- Gdiplus.cs
- DeviceContext2.cs
- LongValidatorAttribute.cs
- WorkflowEventArgs.cs
- TabControlEvent.cs
- Tokenizer.cs
- PeoplePickerWrapper.cs
- CommandEventArgs.cs
- FontWeight.cs
- SqlConnectionPoolGroupProviderInfo.cs
- EditorOptionAttribute.cs
- PasswordTextNavigator.cs
- CollectionContainer.cs
- TypeUsage.cs
- ToolZone.cs
- XmlDataSourceView.cs
- TemplateApplicationHelper.cs
- SqlProviderManifest.cs
- WindowsStartMenu.cs
- RequestSecurityTokenResponseCollection.cs
- GroupItemAutomationPeer.cs
- HotCommands.cs
- _NTAuthentication.cs
- WindowClosedEventArgs.cs
- Rijndael.cs
- AppDomain.cs
- DBPropSet.cs
- PartitionedDataSource.cs