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
- InteropEnvironment.cs
- xsdvalidator.cs
- BinaryParser.cs
- PenLineCapValidation.cs
- SEHException.cs
- PageThemeBuildProvider.cs
- HandleCollector.cs
- SvcMapFileLoader.cs
- CodeArrayCreateExpression.cs
- CollectionBase.cs
- COM2ComponentEditor.cs
- RegexCaptureCollection.cs
- ObjectDataSourceFilteringEventArgs.cs
- ToolStripPanelRenderEventArgs.cs
- DSACryptoServiceProvider.cs
- FontSource.cs
- ContentElementAutomationPeer.cs
- AnimationLayer.cs
- DataObjectSettingDataEventArgs.cs
- TableAutomationPeer.cs
- InvokeMethodDesigner.xaml.cs
- CommandPlan.cs
- UniqueSet.cs
- SelectorAutomationPeer.cs
- XhtmlStyleClass.cs
- CompatibleComparer.cs
- IRCollection.cs
- GACIdentityPermission.cs
- MouseGesture.cs
- EntryPointNotFoundException.cs
- URI.cs
- CategoryAttribute.cs
- fixedPageContentExtractor.cs
- XDeferredAxisSource.cs
- UriPrefixTable.cs
- PtsPage.cs
- SessionPageStateSection.cs
- SerializeAbsoluteContext.cs
- FtpWebRequest.cs
- XmlNodeReader.cs
- contentDescriptor.cs
- System.Data_BID.cs
- SqlCacheDependencyDatabase.cs
- ToolStripContentPanelRenderEventArgs.cs
- AsyncContentLoadedEventArgs.cs
- Utils.cs
- PasswordTextNavigator.cs
- AsymmetricSignatureDeformatter.cs
- DataGridViewRowStateChangedEventArgs.cs
- WindowsComboBox.cs
- WebPartVerbCollection.cs
- SharedStatics.cs
- Button.cs
- Win32PrintDialog.cs
- WebService.cs
- SmiEventSink.cs
- ReceiveActivity.cs
- GridViewRowCollection.cs
- CompilerGlobalScopeAttribute.cs
- GetRecipientListRequest.cs
- ExpanderAutomationPeer.cs
- InfocardInteractiveChannelInitializer.cs
- httpstaticobjectscollection.cs
- FramingEncoders.cs
- FileDialog_Vista_Interop.cs
- WebPartEditorApplyVerb.cs
- Journaling.cs
- XmlSiteMapProvider.cs
- SqlMetaData.cs
- TokenBasedSet.cs
- TextFormatterContext.cs
- KeyValuePair.cs
- NavigationWindow.cs
- WhereaboutsReader.cs
- CellParaClient.cs
- XmlSubtreeReader.cs
- SchemeSettingElement.cs
- FileDialog.cs
- SecurityHeaderElementInferenceEngine.cs
- GetRecipientRequest.cs
- GridItemPattern.cs
- EdmItemError.cs
- Frame.cs
- UntypedNullExpression.cs
- DigestTraceRecordHelper.cs
- DataViewManager.cs
- controlskin.cs
- StringUtil.cs
- XMLUtil.cs
- DSACryptoServiceProvider.cs
- CatalogPart.cs
- ScaleTransform.cs
- CultureTable.cs
- TableCellsCollectionEditor.cs
- DeflateEmulationStream.cs
- TreeNodeEventArgs.cs
- MetadataCache.cs
- ToolStripOverflowButton.cs
- StyleBamlTreeBuilder.cs
- RelationshipType.cs