Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BackEase.cs
- ServiceRoute.cs
- FamilyTypeface.cs
- AxisAngleRotation3D.cs
- ListParagraph.cs
- WindowsEditBoxRange.cs
- NodeLabelEditEvent.cs
- messageonlyhwndwrapper.cs
- TimeoutException.cs
- PolicyException.cs
- DeflateStream.cs
- RowBinding.cs
- XmlNodeChangedEventArgs.cs
- TableLayoutStyleCollection.cs
- ToolboxItemAttribute.cs
- ContentWrapperAttribute.cs
- SafeLibraryHandle.cs
- HitTestParameters.cs
- Condition.cs
- TouchEventArgs.cs
- FileDialog.cs
- AncestorChangedEventArgs.cs
- WindowInteropHelper.cs
- SystemParameters.cs
- TextViewBase.cs
- future.cs
- Menu.cs
- BackgroundWorker.cs
- QilTernary.cs
- HttpCookieCollection.cs
- MarshalByValueComponent.cs
- ValueTable.cs
- FamilyCollection.cs
- DataControlReferenceCollection.cs
- AccessedThroughPropertyAttribute.cs
- MessageUtil.cs
- UdpDiscoveryEndpointProvider.cs
- MemberExpressionHelper.cs
- BlurBitmapEffect.cs
- ObjectResult.cs
- MenuEventArgs.cs
- TCPClient.cs
- Add.cs
- SiteMap.cs
- GradientStopCollection.cs
- ImageMapEventArgs.cs
- VersionPair.cs
- SafeProcessHandle.cs
- AsyncOperationManager.cs
- PrinterSettings.cs
- InvokeFunc.cs
- CachedPathData.cs
- RawKeyboardInputReport.cs
- DocumentPageHost.cs
- Properties.cs
- JsonCollectionDataContract.cs
- FrameworkTemplate.cs
- AbsoluteQuery.cs
- MouseOverProperty.cs
- AffineTransform3D.cs
- SQLDecimal.cs
- CommandLineParser.cs
- ReflectPropertyDescriptor.cs
- BinaryReader.cs
- CompositeCollectionView.cs
- LinearKeyFrames.cs
- ProcessHostMapPath.cs
- DynamicVirtualDiscoSearcher.cs
- Rethrow.cs
- BCLDebug.cs
- InternalPermissions.cs
- Byte.cs
- AssociationTypeEmitter.cs
- EditorAttribute.cs
- _FtpDataStream.cs
- EventLogTraceListener.cs
- _NetRes.cs
- GroupQuery.cs
- DeadLetterQueue.cs
- LateBoundBitmapDecoder.cs
- DeclarativeCatalogPartDesigner.cs
- PhysicalAddress.cs
- ApplicationServicesHostFactory.cs
- WebPartDescription.cs
- ProxyWebPartManager.cs
- ThicknessAnimation.cs
- ConstructorBuilder.cs
- DrawingVisualDrawingContext.cs
- Funcletizer.cs
- ResourceReader.cs
- MarkupCompilePass1.cs
- QilFunction.cs
- Pool.cs
- MailDefinition.cs
- DoubleIndependentAnimationStorage.cs
- WindowsSolidBrush.cs
- ReadOnlyDictionary.cs
- StaticContext.cs
- EventManager.cs
- CodeExpressionRuleDeclaration.cs