Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PngBitmapDecoder.cs
- MatrixTransform3D.cs
- MessageHeaderDescription.cs
- Fx.cs
- QueryOutputWriter.cs
- WebServiceAttribute.cs
- CustomTypeDescriptor.cs
- CqlGenerator.cs
- PropertySegmentSerializer.cs
- TreeNodeStyleCollection.cs
- Popup.cs
- ResponseStream.cs
- VerificationAttribute.cs
- FollowerQueueCreator.cs
- InternalPermissions.cs
- SizeAnimationUsingKeyFrames.cs
- DataGridRowsPresenter.cs
- C14NUtil.cs
- safemediahandle.cs
- ActivityDefaults.cs
- CollectionType.cs
- Int64.cs
- XPathDocumentBuilder.cs
- EventLogPermissionEntryCollection.cs
- RepeatButton.cs
- SmtpTransport.cs
- Formatter.cs
- ComEventsHelper.cs
- SocketPermission.cs
- GuidConverter.cs
- followingsibling.cs
- SHA512Managed.cs
- Queue.cs
- PointAnimation.cs
- TextEditorTables.cs
- UIElement3DAutomationPeer.cs
- EncoderFallback.cs
- TdsEnums.cs
- XdrBuilder.cs
- ProxyWebPartManager.cs
- StringComparer.cs
- NavigateEvent.cs
- DisposableCollectionWrapper.cs
- Int16Converter.cs
- HScrollProperties.cs
- StreamUpdate.cs
- DataTableMapping.cs
- PrintPreviewControl.cs
- DbDeleteCommandTree.cs
- dsa.cs
- Int16Animation.cs
- BaseTemplateBuildProvider.cs
- DataControlCommands.cs
- Native.cs
- DocumentationServerProtocol.cs
- ToolStripPanelRenderEventArgs.cs
- DataServiceHostFactory.cs
- SoundPlayer.cs
- CacheSection.cs
- MsmqBindingElementBase.cs
- DataGrid.cs
- SiteMap.cs
- MultiPartWriter.cs
- WebPartDescriptionCollection.cs
- DynamicValidator.cs
- Codec.cs
- RadialGradientBrush.cs
- RelationalExpressions.cs
- DataGridViewCellMouseEventArgs.cs
- BaseInfoTable.cs
- DbDataReader.cs
- SchemaNamespaceManager.cs
- WindowsToolbarItemAsMenuItem.cs
- Vector3DCollectionConverter.cs
- Rotation3DAnimationBase.cs
- BitmapEffectrendercontext.cs
- ActiveXContainer.cs
- ColorConvertedBitmapExtension.cs
- arclist.cs
- StrokeCollectionDefaultValueFactory.cs
- ListBoxItem.cs
- CurrencyManager.cs
- ErrorRuntimeConfig.cs
- NetDispatcherFaultException.cs
- SqlDataSourceTableQuery.cs
- Composition.cs
- DataRowView.cs
- ResourceKey.cs
- TreeViewImageGenerator.cs
- AsyncPostBackTrigger.cs
- __Filters.cs
- AnimationClock.cs
- DbDataAdapter.cs
- ClientSettingsStore.cs
- Control.cs
- StandardRuntimeEnumValidator.cs
- PlainXmlSerializer.cs
- WindowsRebar.cs
- CompilationUtil.cs
- StorageComplexTypeMapping.cs