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
- XmlWriterSettings.cs
- ColorPalette.cs
- ScriptingJsonSerializationSection.cs
- TableLayoutColumnStyleCollection.cs
- DbCommandDefinition.cs
- ListView.cs
- HtmlTableRowCollection.cs
- ToolboxComponentsCreatedEventArgs.cs
- WindowInteractionStateTracker.cs
- EdmMember.cs
- Grant.cs
- DataGridCellClipboardEventArgs.cs
- PeekCompletedEventArgs.cs
- RootDesignerSerializerAttribute.cs
- IndexOutOfRangeException.cs
- SqlDataSourceStatusEventArgs.cs
- TextBoxBase.cs
- StringKeyFrameCollection.cs
- ImpersonateTokenRef.cs
- ZeroOpNode.cs
- RtfControlWordInfo.cs
- PropertyTabAttribute.cs
- PeerCustomResolverSettings.cs
- ZoneIdentityPermission.cs
- Int64AnimationBase.cs
- SqlDataSourceCache.cs
- MsmqOutputMessage.cs
- HttpHeaderCollection.cs
- TimeManager.cs
- EntityViewContainer.cs
- CryptoConfig.cs
- XmlSchemaSet.cs
- SqlTriggerContext.cs
- SignatureDescription.cs
- IPAddress.cs
- Attachment.cs
- Byte.cs
- Vector3DCollection.cs
- WpfGeneratedKnownProperties.cs
- ValidationResult.cs
- ParameterModifier.cs
- Transform3D.cs
- StateElementCollection.cs
- SpeechSynthesizer.cs
- EntityClientCacheKey.cs
- EntityCollectionChangedParams.cs
- _SSPISessionCache.cs
- WmlValidationSummaryAdapter.cs
- SpeechEvent.cs
- ObjectNavigationPropertyMapping.cs
- ReachFixedDocumentSerializer.cs
- ApplyTemplatesAction.cs
- NullRuntimeConfig.cs
- TypeElement.cs
- CompositeFontFamily.cs
- CellLabel.cs
- WindowAutomationPeer.cs
- DebugInfoExpression.cs
- EventManager.cs
- PlatformNotSupportedException.cs
- SystemIPInterfaceStatistics.cs
- panel.cs
- ErasingStroke.cs
- MessageQueueTransaction.cs
- DecimalStorage.cs
- SmiConnection.cs
- TemplatedControlDesigner.cs
- DrawingContextDrawingContextWalker.cs
- Int32.cs
- EntityViewContainer.cs
- TemplateInstanceAttribute.cs
- DecimalConverter.cs
- ConfigurationManagerHelper.cs
- XmlQuerySequence.cs
- WinInet.cs
- BinaryMessageEncoder.cs
- FixedTextView.cs
- CustomCredentialPolicy.cs
- HttpListenerContext.cs
- TabControlCancelEvent.cs
- IconEditor.cs
- SingleSelectRootGridEntry.cs
- TraceHandlerErrorFormatter.cs
- AnnotationObservableCollection.cs
- Query.cs
- EntityContainer.cs
- BuildProvider.cs
- basevalidator.cs
- ProcessManager.cs
- XmlSerializerAssemblyAttribute.cs
- MenuItemStyleCollectionEditor.cs
- BrushProxy.cs
- ChangeInterceptorAttribute.cs
- ParsedAttributeCollection.cs
- SwitchExpression.cs
- LinearGradientBrush.cs
- DbConnectionOptions.cs
- MultiPageTextView.cs
- EventArgs.cs
- GridView.cs