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
- RegistrationServices.cs
- WorkflowRuntimeSection.cs
- BulletChrome.cs
- MarkerProperties.cs
- SchemaElementDecl.cs
- XmlQueryRuntime.cs
- Splitter.cs
- CharacterString.cs
- IntegerCollectionEditor.cs
- FontWeights.cs
- PageHandlerFactory.cs
- CompensatableSequenceActivity.cs
- Color.cs
- BitArray.cs
- Matrix3DStack.cs
- DisplayMemberTemplateSelector.cs
- TextShapeableCharacters.cs
- ProfileGroupSettingsCollection.cs
- QualifiedCellIdBoolean.cs
- ThaiBuddhistCalendar.cs
- ResourcesBuildProvider.cs
- DataKeyCollection.cs
- DmlSqlGenerator.cs
- PeerApplicationLaunchInfo.cs
- MarkupObject.cs
- RoamingStoreFileUtility.cs
- BindingManagerDataErrorEventArgs.cs
- StorageScalarPropertyMapping.cs
- HttpProfileBase.cs
- DiscoveryReference.cs
- DBNull.cs
- Visitor.cs
- TemplatePagerField.cs
- Trace.cs
- BamlStream.cs
- hresults.cs
- DataSourceViewSchemaConverter.cs
- BlurEffect.cs
- WebSysDefaultValueAttribute.cs
- PropertyGridDesigner.cs
- BooleanKeyFrameCollection.cs
- DefaultSection.cs
- PrinterSettings.cs
- PointLightBase.cs
- ModelItemKeyValuePair.cs
- PageFunction.cs
- OAVariantLib.cs
- PerfCounters.cs
- IntegerValidator.cs
- DbCommandDefinition.cs
- FileLogRecordStream.cs
- Int64Animation.cs
- ListViewItem.cs
- ExpressionConverter.cs
- UIPropertyMetadata.cs
- SignedPkcs7.cs
- JournalNavigationScope.cs
- Transform.cs
- securitycriticaldata.cs
- DateRangeEvent.cs
- Icon.cs
- DataView.cs
- FontFamilyIdentifier.cs
- SubordinateTransaction.cs
- WindowsListViewItemStartMenu.cs
- DataSourceControl.cs
- SQLInt64Storage.cs
- HorizontalAlignConverter.cs
- RequestBringIntoViewEventArgs.cs
- XmlProcessingInstruction.cs
- arclist.cs
- ColumnCollection.cs
- GlobalizationSection.cs
- CultureInfo.cs
- PeerNameResolver.cs
- Bitmap.cs
- DataBinder.cs
- ScrollableControl.cs
- ScrollBarAutomationPeer.cs
- newinstructionaction.cs
- FilterElement.cs
- Clock.cs
- CompositeScriptReferenceEventArgs.cs
- OdbcConnectionPoolProviderInfo.cs
- TextControl.cs
- StatusBarAutomationPeer.cs
- TextStore.cs
- Cursors.cs
- GeneralTransform.cs
- IsolatedStorage.cs
- DataKey.cs
- Figure.cs
- HuffCodec.cs
- ImageField.cs
- SchemaHelper.cs
- FormatVersion.cs
- Point3DCollectionValueSerializer.cs
- SchemaMapping.cs
- WasAdminWrapper.cs
- BitmapEffectrendercontext.cs