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 / 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
- DiscoveryServiceExtension.cs
- TabControl.cs
- XmlQualifiedName.cs
- CodeIdentifier.cs
- ColumnHeaderCollectionEditor.cs
- MenuItem.cs
- FactoryId.cs
- TextEndOfLine.cs
- _OSSOCK.cs
- HScrollProperties.cs
- XmlDataSource.cs
- FileUtil.cs
- TraceHandler.cs
- OleDbMetaDataFactory.cs
- WpfSharedXamlSchemaContext.cs
- DataMisalignedException.cs
- TextSegment.cs
- ThreadAttributes.cs
- Panel.cs
- NumberFunctions.cs
- XmlDeclaration.cs
- CheckPair.cs
- ConfigPathUtility.cs
- DownloadProgressEventArgs.cs
- StateManagedCollection.cs
- formatter.cs
- Setter.cs
- PropertyConverter.cs
- ZoneButton.cs
- EntityDataSourceDesigner.cs
- OutputCacheModule.cs
- SqlTopReducer.cs
- DataObjectMethodAttribute.cs
- FileRecordSequenceHelper.cs
- Material.cs
- TrustLevel.cs
- FixedSOMTableRow.cs
- LinkLabel.cs
- DragDrop.cs
- Pointer.cs
- XmlValueConverter.cs
- FileDialog_Vista_Interop.cs
- BrowserTree.cs
- DataObjectSettingDataEventArgs.cs
- ToolStripScrollButton.cs
- GridViewHeaderRowPresenter.cs
- GroupBoxRenderer.cs
- ISAPIRuntime.cs
- MultipartContentParser.cs
- DesignerWebPartChrome.cs
- IISMapPath.cs
- VisualTarget.cs
- BrowserCapabilitiesCompiler.cs
- AnimationLayer.cs
- StickyNoteContentControl.cs
- EntityDataSourceSelectingEventArgs.cs
- OleDbPermission.cs
- TableLayoutStyle.cs
- AuthenticationConfig.cs
- TagNameToTypeMapper.cs
- SerialErrors.cs
- GenericAuthenticationEventArgs.cs
- DataError.cs
- SubclassTypeValidatorAttribute.cs
- CookieHandler.cs
- SqlParameterizer.cs
- RichTextBox.cs
- AuthenticatingEventArgs.cs
- DataGridViewButtonCell.cs
- ActivityExecutionWorkItem.cs
- TabControlAutomationPeer.cs
- DbMetaDataCollectionNames.cs
- SqlConnectionPoolGroupProviderInfo.cs
- HtmlImage.cs
- GridErrorDlg.cs
- ModuleElement.cs
- baseshape.cs
- CompareInfo.cs
- WindowsListViewScroll.cs
- exports.cs
- LocationSectionRecord.cs
- ElementHostPropertyMap.cs
- PageWrapper.cs
- ExclusiveCanonicalizationTransform.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- ScaleTransform.cs
- TimeManager.cs
- ItemCheckEvent.cs
- Item.cs
- GuidelineSet.cs
- RawAppCommandInputReport.cs
- Int64.cs
- CompilerCollection.cs
- mactripleDES.cs
- Rect.cs
- MdImport.cs
- ISFTagAndGuidCache.cs
- templategroup.cs
- ToolStripProgressBar.cs
- ScrollItemPatternIdentifiers.cs