Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / StatusBarDrawItemEvent.cs / 1 / StatusBarDrawItemEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.Drawing; using Microsoft.Win32; ////// /// public class StatusBarDrawItemEventArgs : DrawItemEventArgs { readonly StatusBarPanel panel; ////// Provides data for the ////// event. /// /// /// public StatusBarDrawItemEventArgs(System.Drawing.Graphics g, Font font, Rectangle r, int itemId, DrawItemState itemState, StatusBarPanel panel) : base(g, font, r, itemId, itemState) { this.panel = panel; } ////// Initializes a new instance of the ////// class. /// /// /// public StatusBarDrawItemEventArgs(System.Drawing.Graphics g, Font font, Rectangle r, int itemId, DrawItemState itemState, StatusBarPanel panel, Color foreColor, Color backColor) : base(g, font, r, itemId, itemState, foreColor, backColor) { this.panel = panel; } ////// Initializes a new instance of the ////// class using the Forecolor and Backcolor. /// /// /// public StatusBarPanel Panel { get { return panel; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Specifies the ////// to /// draw. /// // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.Drawing; using Microsoft.Win32; ////// /// public class StatusBarDrawItemEventArgs : DrawItemEventArgs { readonly StatusBarPanel panel; ////// Provides data for the ////// event. /// /// /// public StatusBarDrawItemEventArgs(System.Drawing.Graphics g, Font font, Rectangle r, int itemId, DrawItemState itemState, StatusBarPanel panel) : base(g, font, r, itemId, itemState) { this.panel = panel; } ////// Initializes a new instance of the ////// class. /// /// /// public StatusBarDrawItemEventArgs(System.Drawing.Graphics g, Font font, Rectangle r, int itemId, DrawItemState itemState, StatusBarPanel panel, Color foreColor, Color backColor) : base(g, font, r, itemId, itemState, foreColor, backColor) { this.panel = panel; } ////// Initializes a new instance of the ////// class using the Forecolor and Backcolor. /// /// /// public StatusBarPanel Panel { get { return panel; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Specifies the ////// to /// draw. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LogEntryDeserializer.cs
- DataGridViewRowConverter.cs
- HotSpotCollection.cs
- Parameter.cs
- ErasingStroke.cs
- TiffBitmapDecoder.cs
- BaseContextMenu.cs
- Utility.cs
- StorageEntityTypeMapping.cs
- Thread.cs
- Image.cs
- AbsoluteQuery.cs
- AnchoredBlock.cs
- SwitchLevelAttribute.cs
- PersonalizationEntry.cs
- Thread.cs
- DesignerEditorPartChrome.cs
- hresults.cs
- DataConnectionHelper.cs
- VisualBasicSettingsHandler.cs
- DrawTreeNodeEventArgs.cs
- SiteMapProvider.cs
- SmiEventSink_Default.cs
- Wizard.cs
- ServiceOperationUIEditor.cs
- ProxyWebPartManager.cs
- SqlFacetAttribute.cs
- ComboBox.cs
- UnitySerializationHolder.cs
- XmlFormatExtensionPrefixAttribute.cs
- HyperLink.cs
- SQLInt32.cs
- StyleBamlRecordReader.cs
- FactoryId.cs
- DispatcherHooks.cs
- ParameterCollection.cs
- Int16Storage.cs
- OutputScopeManager.cs
- WindowsImpersonationContext.cs
- SystemParameters.cs
- XmlNullResolver.cs
- BooleanAnimationBase.cs
- XPathSelectionIterator.cs
- RouteValueExpressionBuilder.cs
- XmlILConstructAnalyzer.cs
- ActivityBuilderHelper.cs
- TraceHandlerErrorFormatter.cs
- VirtualizedCellInfoCollection.cs
- Parser.cs
- UnsafeNativeMethodsCLR.cs
- DataGridCellAutomationPeer.cs
- PresentationSource.cs
- HttpHostedTransportConfiguration.cs
- ExpressionVisitor.cs
- DocumentAutomationPeer.cs
- TableDetailsRow.cs
- ListBindingConverter.cs
- AffineTransform3D.cs
- DocumentViewerBaseAutomationPeer.cs
- TypographyProperties.cs
- IdentifierCollection.cs
- ConditionValidator.cs
- DoubleUtil.cs
- TrackingRecord.cs
- Queue.cs
- TablePatternIdentifiers.cs
- XmlSchemaProviderAttribute.cs
- TextCollapsingProperties.cs
- CommandSet.cs
- HttpPostClientProtocol.cs
- SingleAnimationUsingKeyFrames.cs
- IconBitmapDecoder.cs
- FileInfo.cs
- SoapException.cs
- NotSupportedException.cs
- DataGridColumnHeader.cs
- FloaterParaClient.cs
- DesignerAttribute.cs
- VectorCollection.cs
- CustomWebEventKey.cs
- WebPartZoneDesigner.cs
- WaitingCursor.cs
- DataGridViewLinkColumn.cs
- SingleAnimationBase.cs
- GridPatternIdentifiers.cs
- EtwTrace.cs
- BindStream.cs
- DesignTimeSiteMapProvider.cs
- IndicFontClient.cs
- TypedTableBase.cs
- DrawListViewItemEventArgs.cs
- UriSection.cs
- CriticalFinalizerObject.cs
- CryptographicAttribute.cs
- PolygonHotSpot.cs
- TogglePatternIdentifiers.cs
- DataControlLinkButton.cs
- UnitySerializationHolder.cs
- WebPartEditorApplyVerb.cs
- AttachedPropertyBrowsableAttribute.cs