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
- RadioButtonBaseAdapter.cs
- SoapEnumAttribute.cs
- FixedTextSelectionProcessor.cs
- OdbcCommand.cs
- ConfigurationValue.cs
- ParenthesizePropertyNameAttribute.cs
- CommonDialog.cs
- WebContext.cs
- PopupRootAutomationPeer.cs
- HttpGetClientProtocol.cs
- BindingGroup.cs
- TrustManagerPromptUI.cs
- CodeTypeOfExpression.cs
- Privilege.cs
- TrimSurroundingWhitespaceAttribute.cs
- TreeViewItemAutomationPeer.cs
- HtmlWindow.cs
- BamlRecords.cs
- IdentifierCollection.cs
- FullTextBreakpoint.cs
- SHA384Managed.cs
- BinaryUtilClasses.cs
- InputLanguageProfileNotifySink.cs
- ChangeInterceptorAttribute.cs
- ObjectDataSourceChooseTypePanel.cs
- ButtonField.cs
- UriParserTemplates.cs
- Bits.cs
- ChtmlTextWriter.cs
- ChangeProcessor.cs
- StateItem.cs
- StrokeNode.cs
- WebConfigurationHost.cs
- TemplateNodeContextMenu.cs
- XamlPoint3DCollectionSerializer.cs
- WCFServiceClientProxyGenerator.cs
- Rotation3D.cs
- StaticDataManager.cs
- XpsImage.cs
- RenderCapability.cs
- Panel.cs
- Control.cs
- XPathSelectionIterator.cs
- XamlSerializationHelper.cs
- TableCell.cs
- CompilerScopeManager.cs
- XamlPointCollectionSerializer.cs
- Rotation3D.cs
- TransactionState.cs
- PathFigureCollectionConverter.cs
- ParentQuery.cs
- MouseGesture.cs
- CultureNotFoundException.cs
- InvalidDataContractException.cs
- SchemaTableColumn.cs
- HtmlTernaryTree.cs
- StreamReader.cs
- RegexWriter.cs
- DataBindingCollection.cs
- listitem.cs
- XmlCharacterData.cs
- NativeObjectSecurity.cs
- TextContainerChangeEventArgs.cs
- SmiRequestExecutor.cs
- HttpMethodAttribute.cs
- EntityTypeBase.cs
- GroupQuery.cs
- EntityDesignerBuildProvider.cs
- EntitySetDataBindingList.cs
- AssemblyBuilderData.cs
- Literal.cs
- HwndSource.cs
- Region.cs
- _SslState.cs
- SecurityDescriptor.cs
- RegexBoyerMoore.cs
- configsystem.cs
- DefaultEvaluationContext.cs
- XmlBinaryReader.cs
- GeometryCombineModeValidation.cs
- FixedFlowMap.cs
- TypeUtils.cs
- _UriSyntax.cs
- NamespaceEmitter.cs
- EventLogPermissionAttribute.cs
- AccessKeyManager.cs
- BulletChrome.cs
- SnapLine.cs
- HyperLinkStyle.cs
- JumpTask.cs
- IgnoreDeviceFilterElementCollection.cs
- ConversionValidationRule.cs
- UserControlCodeDomTreeGenerator.cs
- FamilyMap.cs
- AppDomainManager.cs
- CustomWebEventKey.cs
- CqlGenerator.cs
- TrackingProfileCache.cs
- TagNameToTypeMapper.cs
- UidPropertyAttribute.cs