Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripItemRenderEventArgs.cs / 1 / ToolStripItemRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// public class ToolStripItemRenderEventArgs : EventArgs { private ToolStripItem item = null; private Graphics graphics = null; /// /// /// This class represents all the information to render the winbar /// public ToolStripItemRenderEventArgs(Graphics g, ToolStripItem item) { this.item = item; this.graphics = g; } ////// /// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// /// the item to draw /// public ToolStripItem Item { get { return item; } } ////// /// The toolstrip the item is currently parented to /// public ToolStrip ToolStrip { get { return item.ParentInternal; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// public class ToolStripItemRenderEventArgs : EventArgs { private ToolStripItem item = null; private Graphics graphics = null; /// /// /// This class represents all the information to render the winbar /// public ToolStripItemRenderEventArgs(Graphics g, ToolStripItem item) { this.item = item; this.graphics = g; } ////// /// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// /// the item to draw /// public ToolStripItem Item { get { return item; } } ////// /// The toolstrip the item is currently parented to /// public ToolStrip ToolStrip { get { return item.ParentInternal; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- columnmapfactory.cs
- ClientProxyGenerator.cs
- Compiler.cs
- OverflowException.cs
- ParallelEnumerable.cs
- AssemblyResolver.cs
- URI.cs
- TdsValueSetter.cs
- PresentationAppDomainManager.cs
- UpdateProgress.cs
- PageAsyncTaskManager.cs
- UserControl.cs
- SimpleHandlerFactory.cs
- WebPartZoneBaseDesigner.cs
- GeometryValueSerializer.cs
- DeclaredTypeElement.cs
- PowerModeChangedEventArgs.cs
- SystemFonts.cs
- FontDialog.cs
- Documentation.cs
- ConstraintManager.cs
- AssemblyInfo.cs
- ActionMismatchAddressingException.cs
- VerticalAlignConverter.cs
- TextTreeObjectNode.cs
- XPathExpr.cs
- XmlDomTextWriter.cs
- IgnoreDataMemberAttribute.cs
- IIS7WorkerRequest.cs
- MD5CryptoServiceProvider.cs
- CompilationPass2TaskInternal.cs
- BooleanExpr.cs
- Ref.cs
- TabPage.cs
- CurrentTimeZone.cs
- SerializationObjectManager.cs
- NonVisualControlAttribute.cs
- IsolatedStorage.cs
- GridViewDeletedEventArgs.cs
- TimelineGroup.cs
- MemberAccessException.cs
- AvTrace.cs
- HttpHeaderCollection.cs
- Compiler.cs
- AddValidationError.cs
- CounterSet.cs
- XmlSchemaDatatype.cs
- CellCreator.cs
- ProcessInfo.cs
- RootBrowserWindowAutomationPeer.cs
- XmlEntity.cs
- PnrpPermission.cs
- XPathNodeIterator.cs
- RelationshipNavigation.cs
- CommonRemoteMemoryBlock.cs
- BuildProviderAppliesToAttribute.cs
- EntitySet.cs
- GACMembershipCondition.cs
- SystemException.cs
- SafeEventHandle.cs
- FramingFormat.cs
- ProfileService.cs
- StrokeNodeData.cs
- SecurityManager.cs
- SpellerInterop.cs
- RepeatInfo.cs
- URLEditor.cs
- SectionRecord.cs
- XmlSerializationReader.cs
- WorkflowStateRollbackService.cs
- CompilerParameters.cs
- SqlEnums.cs
- AnimationStorage.cs
- ChameleonKey.cs
- ColorConvertedBitmapExtension.cs
- sqlstateclientmanager.cs
- BrowserDefinition.cs
- PersonalizationStateQuery.cs
- SourceChangedEventArgs.cs
- Int64.cs
- XmlToDatasetMap.cs
- TraceLevelHelper.cs
- ArraySegment.cs
- PrinterResolution.cs
- RegexParser.cs
- DesignOnlyAttribute.cs
- TPLETWProvider.cs
- FontDialog.cs
- RequestBringIntoViewEventArgs.cs
- HttpPostLocalhostServerProtocol.cs
- TypeLibConverter.cs
- WorkerRequest.cs
- TextEditorContextMenu.cs
- List.cs
- PageEventArgs.cs
- ReadOnlyDictionary.cs
- StoreContentChangedEventArgs.cs
- Typography.cs
- RoutingChannelExtension.cs
- SelectedCellsChangedEventArgs.cs