Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// Specifies the ////// to /// draw. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PaperSize.cs
- XmlElementList.cs
- XmlConvert.cs
- CallTemplateAction.cs
- TypeForwardedToAttribute.cs
- UnsafeCollabNativeMethods.cs
- AutomationProperties.cs
- Int32AnimationBase.cs
- EmbeddedObject.cs
- ResourceType.cs
- assertwrapper.cs
- DataGridToolTip.cs
- iisPickupDirectory.cs
- CheckBoxPopupAdapter.cs
- MethodBody.cs
- BuildProvidersCompiler.cs
- WebRequestModulesSection.cs
- VersionPair.cs
- SQLGuidStorage.cs
- ExpressionBuilder.cs
- SqlAliasesReferenced.cs
- VisualTreeUtils.cs
- DesignTimeParseData.cs
- ReflectionUtil.cs
- BindingMemberInfo.cs
- IconHelper.cs
- XmlNamespaceMappingCollection.cs
- XmlRootAttribute.cs
- XamlRtfConverter.cs
- mediaclock.cs
- GregorianCalendar.cs
- WebPartConnection.cs
- ITextView.cs
- ToolTipAutomationPeer.cs
- BitArray.cs
- formatstringdialog.cs
- ExtractorMetadata.cs
- EventRoute.cs
- AssemblyHash.cs
- XmlLinkedNode.cs
- FullTextBreakpoint.cs
- DesignerActionKeyboardBehavior.cs
- DataGridColumnDropSeparator.cs
- SqlDelegatedTransaction.cs
- GlyphInfoList.cs
- HotSpot.cs
- PageEventArgs.cs
- Activator.cs
- ReadOnlyMetadataCollection.cs
- CacheOutputQuery.cs
- NativeMethods.cs
- CutCopyPasteHelper.cs
- AssemblyBuilder.cs
- NameValueCollection.cs
- DefaultCommandExtensionCallback.cs
- StringHandle.cs
- TrackingMemoryStreamFactory.cs
- StorageModelBuildProvider.cs
- HScrollProperties.cs
- PostBackTrigger.cs
- BindingNavigator.cs
- OrderedDictionaryStateHelper.cs
- DataServiceQueryProvider.cs
- TreeViewCancelEvent.cs
- DataGridViewCellFormattingEventArgs.cs
- WebEvents.cs
- CellQuery.cs
- PrefixHandle.cs
- DataSourceSelectArguments.cs
- TextRenderer.cs
- QuaternionAnimation.cs
- UnsafePeerToPeerMethods.cs
- Merger.cs
- errorpatternmatcher.cs
- EntityDataSourceSelectedEventArgs.cs
- EmptyReadOnlyDictionaryInternal.cs
- UnsafeNativeMethods.cs
- Hex.cs
- BitmapEffect.cs
- RNGCryptoServiceProvider.cs
- DateTimeValueSerializer.cs
- CallbackHandler.cs
- Claim.cs
- ObjectManager.cs
- SafeNativeMemoryHandle.cs
- FullTextLine.cs
- Overlapped.cs
- ExpressionList.cs
- EdmToObjectNamespaceMap.cs
- ContentType.cs
- CfgRule.cs
- DrawingCollection.cs
- ZipIOModeEnforcingStream.cs
- FormViewUpdatedEventArgs.cs
- MarkupObject.cs
- RtfFormatStack.cs
- Keywords.cs
- UpdateExpressionVisitor.cs
- xmlfixedPageInfo.cs
- RadialGradientBrush.cs