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
- SmtpCommands.cs
- BooleanFunctions.cs
- TypeListConverter.cs
- Transaction.cs
- RegexParser.cs
- SqlCachedBuffer.cs
- SettingsPropertyCollection.cs
- CommonRemoteMemoryBlock.cs
- ButtonPopupAdapter.cs
- SecureStringHasher.cs
- BitmapImage.cs
- AcceleratedTokenProvider.cs
- Version.cs
- DesignOnlyAttribute.cs
- FieldMetadata.cs
- PackWebRequest.cs
- UserPreferenceChangedEventArgs.cs
- ConfigurationStrings.cs
- RequestQueryParser.cs
- DeleteWorkflowOwnerCommand.cs
- DataGridViewCell.cs
- ImageCodecInfoPrivate.cs
- GridViewCancelEditEventArgs.cs
- VolatileEnlistmentState.cs
- JulianCalendar.cs
- StringPropertyBuilder.cs
- HtmlElementEventArgs.cs
- XmlCDATASection.cs
- GeneralTransform2DTo3D.cs
- TextTreeUndoUnit.cs
- UndoManager.cs
- UserControl.cs
- FileIOPermission.cs
- AsyncPostBackTrigger.cs
- HotCommands.cs
- InternalsVisibleToAttribute.cs
- TraceSection.cs
- DataGridViewLinkCell.cs
- SoapFault.cs
- AppDomainAttributes.cs
- TabControlAutomationPeer.cs
- SocketInformation.cs
- LinkArea.cs
- ModifierKeysValueSerializer.cs
- cookie.cs
- ControlBuilderAttribute.cs
- ItemCheckedEvent.cs
- SchemaTypeEmitter.cs
- Win32.cs
- BamlResourceContent.cs
- ValueExpressions.cs
- COMException.cs
- ColumnHeader.cs
- AttachmentService.cs
- ListViewDeleteEventArgs.cs
- ColumnHeaderConverter.cs
- XmlMemberMapping.cs
- UrlMappingCollection.cs
- ExpressionVisitor.cs
- ButtonStandardAdapter.cs
- SourceSwitch.cs
- FileSystemEnumerable.cs
- DataGridViewColumn.cs
- InputScope.cs
- HostExecutionContextManager.cs
- _SpnDictionary.cs
- OrderPreservingPipeliningSpoolingTask.cs
- Application.cs
- SqlDataSourceView.cs
- CollectionType.cs
- ProgressPage.cs
- DataGridRow.cs
- RectAnimationUsingKeyFrames.cs
- Viewport3DAutomationPeer.cs
- WmlTextBoxAdapter.cs
- SafeNativeMethodsOther.cs
- AppDomainProtocolHandler.cs
- HtmlInputButton.cs
- SqlCacheDependencySection.cs
- OledbConnectionStringbuilder.cs
- RTLAwareMessageBox.cs
- VisualBasicValue.cs
- DataControlFieldCollection.cs
- MethodBuilderInstantiation.cs
- LineBreak.cs
- PriorityBinding.cs
- EntityTransaction.cs
- ListItemCollection.cs
- FormatterServices.cs
- Int64Storage.cs
- DesignSurfaceEvent.cs
- DataGridAutoFormat.cs
- MenuItem.cs
- NamespaceInfo.cs
- XmlAttribute.cs
- TemplateBindingExtensionConverter.cs
- CodeEventReferenceExpression.cs
- odbcmetadatacollectionnames.cs
- ImageFormatConverter.cs
- XpsLiterals.cs