Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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;
///
///
///
/// Provides data for the
/// event.
///
///
public class StatusBarDrawItemEventArgs : DrawItemEventArgs {
readonly StatusBarPanel panel;
///
///
///
/// Initializes a new instance of the
/// class.
///
///
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 using the Forecolor and Backcolor.
///
///
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;
}
///
///
///
/// Specifies the
/// to
/// draw.
///
///
public StatusBarPanel Panel {
get {
return panel;
}
}
}
}
// 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
- PackageRelationship.cs
- EventDescriptor.cs
- FloatAverageAggregationOperator.cs
- ListBoxItemWrapperAutomationPeer.cs
- WebSysDefaultValueAttribute.cs
- ObjectConverter.cs
- OverlappedAsyncResult.cs
- Range.cs
- AccessKeyManager.cs
- RangeValuePatternIdentifiers.cs
- GeneralTransform3DCollection.cs
- EventProviderWriter.cs
- RootProfilePropertySettingsCollection.cs
- BooleanFacetDescriptionElement.cs
- RegistryKey.cs
- SafeFreeMibTable.cs
- XmlSchemaSimpleTypeList.cs
- DescriptionAttribute.cs
- CursorConverter.cs
- StrongName.cs
- RightsDocument.cs
- PeerNameRegistration.cs
- TypographyProperties.cs
- EncoderFallback.cs
- ObjectParameterCollection.cs
- ListDictionary.cs
- DynamicVirtualDiscoSearcher.cs
- EntityDataSourceContainerNameItem.cs
- EntityDataSourceContainerNameConverter.cs
- DataShape.cs
- NewArrayExpression.cs
- CipherData.cs
- DbCommandTree.cs
- SoapTypeAttribute.cs
- Item.cs
- IWorkflowDebuggerService.cs
- LinkUtilities.cs
- StylusTip.cs
- ConfigurationSchemaErrors.cs
- DashStyles.cs
- RegexTree.cs
- MatchingStyle.cs
- XmlSchemaAppInfo.cs
- CatalogZoneAutoFormat.cs
- InvalidBodyAccessException.cs
- Mouse.cs
- Vector3dCollection.cs
- CmsInterop.cs
- CssClassPropertyAttribute.cs
- ScrollBar.cs
- UshortList2.cs
- LinqDataSourceUpdateEventArgs.cs
- GlyphsSerializer.cs
- PointCollection.cs
- InProcStateClientManager.cs
- ContentOperations.cs
- DetailsViewUpdatedEventArgs.cs
- ClickablePoint.cs
- CqlLexer.cs
- ValueConversionAttribute.cs
- SafeRegistryHandle.cs
- SoundPlayer.cs
- AnnotationComponentManager.cs
- Closure.cs
- XmlMapping.cs
- DropSource.cs
- AutomationAttributeInfo.cs
- xmlNames.cs
- SecurityKeyIdentifier.cs
- AssemblyCollection.cs
- XmlnsCache.cs
- SqlSelectStatement.cs
- ProvidersHelper.cs
- ConnectionConsumerAttribute.cs
- DataSourceExpression.cs
- GridViewUpdatedEventArgs.cs
- PeerNearMe.cs
- StrongTypingException.cs
- FixedSOMPageElement.cs
- SystemKeyConverter.cs
- DoubleLinkList.cs
- OLEDB_Enum.cs
- ToolTipAutomationPeer.cs
- DataGridViewCellCollection.cs
- ByteStreamGeometryContext.cs
- SerializationObjectManager.cs
- MatrixAnimationUsingPath.cs
- OutputCache.cs
- ApplicationHost.cs
- DataServiceQueryProvider.cs
- GlyphElement.cs
- StyleCollection.cs
- BaseProcessor.cs
- BaseAsyncResult.cs
- PublisherMembershipCondition.cs
- WindowsGraphicsWrapper.cs
- WindowsButton.cs
- Grant.cs
- Model3DGroup.cs
- RegexCompiler.cs