Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ModuleBuilderData.cs
- _PooledStream.cs
- PeerCustomResolverBindingElement.cs
- Misc.cs
- NullableBoolConverter.cs
- KeysConverter.cs
- ValidationResult.cs
- MonthChangedEventArgs.cs
- XmlDeclaration.cs
- HTMLTextWriter.cs
- BufferAllocator.cs
- Property.cs
- SByte.cs
- DecoderReplacementFallback.cs
- CodePropertyReferenceExpression.cs
- WizardStepBase.cs
- SqlDataSourceConnectionPanel.cs
- WebServiceHostFactory.cs
- GroupStyle.cs
- ResourceContainerWrapper.cs
- DataSourceView.cs
- DbBuffer.cs
- DataServiceRequestException.cs
- ColorContextHelper.cs
- ComboBox.cs
- ParallelTimeline.cs
- LinkButton.cs
- Operators.cs
- SyndicationSerializer.cs
- StickyNoteHelper.cs
- EventLogPermissionEntry.cs
- HttpProtocolImporter.cs
- Group.cs
- WebRequest.cs
- hresults.cs
- LoadRetryAsyncResult.cs
- HistoryEventArgs.cs
- CapacityStreamGeometryContext.cs
- Control.cs
- ItemAutomationPeer.cs
- XmlTypeMapping.cs
- AxHostDesigner.cs
- PersonalizationAdministration.cs
- _DigestClient.cs
- AutomationPropertyInfo.cs
- KeyValueInternalCollection.cs
- EditingMode.cs
- DBCommandBuilder.cs
- TextMarkerSource.cs
- RoutedEventConverter.cs
- BulletDecorator.cs
- WorkflowDataContext.cs
- SingleAnimationBase.cs
- TreeViewHitTestInfo.cs
- DocumentPageView.cs
- AccessKeyManager.cs
- ToolStripDropDownButton.cs
- MobileSysDescriptionAttribute.cs
- OptionalColumn.cs
- SessionEndingEventArgs.cs
- DataGridRelationshipRow.cs
- AccessDataSourceDesigner.cs
- Icon.cs
- BigInt.cs
- XsltException.cs
- IssuedTokenServiceCredential.cs
- MarkupCompiler.cs
- XmlUtf8RawTextWriter.cs
- InternalCache.cs
- XmlNodeChangedEventManager.cs
- DataGridViewColumnStateChangedEventArgs.cs
- DataGridViewCellParsingEventArgs.cs
- CaseCqlBlock.cs
- StateRuntime.cs
- EllipseGeometry.cs
- HttpInputStream.cs
- PathGeometry.cs
- QilExpression.cs
- TreeViewImageKeyConverter.cs
- ProcessStartInfo.cs
- ToolZone.cs
- URI.cs
- XmlSortKeyAccumulator.cs
- LinearGradientBrush.cs
- ExpressionConverter.cs
- ModelItemCollectionImpl.cs
- DiscoveryClientDuplexChannel.cs
- TemplateContentLoader.cs
- XmlMtomWriter.cs
- InstanceDataCollectionCollection.cs
- MouseActionValueSerializer.cs
- sqlser.cs
- BaseConfigurationRecord.cs
- Bold.cs
- TextLineResult.cs
- CodeAccessPermission.cs
- PolicyVersionConverter.cs
- CreateInstanceBinder.cs
- ReadOnlyObservableCollection.cs
- Clock.cs