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
- FormClosingEvent.cs
- Stackframe.cs
- GridViewDeletedEventArgs.cs
- StaticExtensionConverter.cs
- FrameworkTextComposition.cs
- ProbeMatchesApril2005.cs
- DispatcherObject.cs
- PreviewKeyDownEventArgs.cs
- ToolboxItemCollection.cs
- FlowDocumentPaginator.cs
- FontStyle.cs
- CFStream.cs
- AtomEntry.cs
- ScriptServiceAttribute.cs
- XPathChildIterator.cs
- PaginationProgressEventArgs.cs
- HtmlTitle.cs
- DeclaredTypeValidator.cs
- InputMethodStateChangeEventArgs.cs
- EnterpriseServicesHelper.cs
- SpoolingTask.cs
- ComplexType.cs
- FilteredReadOnlyMetadataCollection.cs
- DeferredSelectedIndexReference.cs
- RenderingBiasValidation.cs
- BufferModesCollection.cs
- EdmComplexPropertyAttribute.cs
- _BaseOverlappedAsyncResult.cs
- PropertiesTab.cs
- IsolationInterop.cs
- BinHexEncoder.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- KerberosTicketHashIdentifierClause.cs
- MissingManifestResourceException.cs
- FilteredAttributeCollection.cs
- RuntimeArgumentHandle.cs
- SocketElement.cs
- HtmlContainerControl.cs
- Command.cs
- X509SecurityTokenAuthenticator.cs
- Panel.cs
- Preprocessor.cs
- ToolBar.cs
- Bidi.cs
- RemotingService.cs
- XamlFigureLengthSerializer.cs
- SoapElementAttribute.cs
- ErrorStyle.cs
- FontDriver.cs
- LinkLabel.cs
- ReceiveActivity.cs
- AmbientLight.cs
- WebPartTransformer.cs
- AnimatedTypeHelpers.cs
- WpfKnownTypeInvoker.cs
- PasswordBox.cs
- Polygon.cs
- SmiContext.cs
- ConnectionProviderAttribute.cs
- Dispatcher.cs
- ConfigurationValues.cs
- State.cs
- SimpleBitVector32.cs
- WCFServiceClientProxyGenerator.cs
- TypeSystemHelpers.cs
- SynchronizingStream.cs
- XmlSchemaProviderAttribute.cs
- WebPartRestoreVerb.cs
- WebBrowser.cs
- TextViewBase.cs
- DelegateInArgument.cs
- OleDbDataReader.cs
- StylusButton.cs
- ByteRangeDownloader.cs
- EncoderFallback.cs
- MemberRelationshipService.cs
- CharacterBuffer.cs
- DesignerListAdapter.cs
- SafeCryptoHandles.cs
- TextEditorMouse.cs
- BufferedConnection.cs
- QuinticEase.cs
- CodeParameterDeclarationExpression.cs
- PropertyInfoSet.cs
- ToolStripContentPanelDesigner.cs
- MgmtConfigurationRecord.cs
- ListViewCommandEventArgs.cs
- HttpSessionStateBase.cs
- WindowsFormsLinkLabel.cs
- LinearGradientBrush.cs
- XmlAnyAttributeAttribute.cs
- ColorMap.cs
- DataGridItemCollection.cs
- Normalization.cs
- XmlFormatExtensionAttribute.cs
- GraphicsPathIterator.cs
- XmlSchemaAttribute.cs
- _FixedSizeReader.cs
- MouseCaptureWithinProperty.cs
- SerializationException.cs