Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- _NtlmClient.cs
- Decorator.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- ApplicationGesture.cs
- AutoResetEvent.cs
- HtmlTextArea.cs
- DataGridViewSelectedColumnCollection.cs
- TreeViewBindingsEditorForm.cs
- FutureFactory.cs
- ReferencedAssembly.cs
- WSHttpBindingBaseElement.cs
- Transform3D.cs
- RepeaterItem.cs
- BaseValidator.cs
- DBPropSet.cs
- FacetDescriptionElement.cs
- Binding.cs
- TableSectionStyle.cs
- GrammarBuilder.cs
- CellParagraph.cs
- FixedFlowMap.cs
- UIHelper.cs
- SqlDataSourceCommandEventArgs.cs
- SecurityPermission.cs
- TextSyndicationContent.cs
- PasswordTextContainer.cs
- ObjectHandle.cs
- ToRequest.cs
- FileDialog_Vista_Interop.cs
- VirtualizedCellInfoCollection.cs
- PersonalizationStateInfoCollection.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- DataViewManagerListItemTypeDescriptor.cs
- OutputScopeManager.cs
- TableParaClient.cs
- UnknownBitmapEncoder.cs
- XmlSchemaObjectTable.cs
- UnsafeNativeMethodsCLR.cs
- EventLogPermissionEntry.cs
- ScriptBehaviorDescriptor.cs
- Match.cs
- LinqDataSourceSelectEventArgs.cs
- RevocationPoint.cs
- Panel.cs
- Win32KeyboardDevice.cs
- WindowsFormsSectionHandler.cs
- CriticalHandle.cs
- TrustLevel.cs
- CanExpandCollapseAllConverter.cs
- EncodingTable.cs
- SrgsElement.cs
- TextChange.cs
- BlockExpression.cs
- SoapServerMethod.cs
- _AutoWebProxyScriptHelper.cs
- AmbientLight.cs
- SqlNodeAnnotation.cs
- RC2CryptoServiceProvider.cs
- CompositeTypefaceMetrics.cs
- DateTimeConverter.cs
- Regex.cs
- BuildProviderUtils.cs
- DataGridRowDetailsEventArgs.cs
- WebSysDescriptionAttribute.cs
- ListViewInsertedEventArgs.cs
- FixedSOMTableRow.cs
- BuildDependencySet.cs
- ConnectionPool.cs
- XamlFilter.cs
- ActivityPreviewDesigner.cs
- ServiceOperation.cs
- ZipIOFileItemStream.cs
- Quad.cs
- DataGridViewDataErrorEventArgs.cs
- HttpResponse.cs
- MobileControlDesigner.cs
- CharAnimationBase.cs
- WebScriptMetadataMessageEncoderFactory.cs
- EnumConverter.cs
- SuppressIldasmAttribute.cs
- InheritanceContextChangedEventManager.cs
- PerfCounterSection.cs
- GuidelineSet.cs
- WebPartConnectionsConnectVerb.cs
- Style.cs
- TypeSemantics.cs
- SortedList.cs
- ProcessModuleCollection.cs
- NonDualMessageSecurityOverHttpElement.cs
- ParameterToken.cs
- LinearGradientBrush.cs
- DbReferenceCollection.cs
- StackOverflowException.cs
- ContextMenu.cs
- FontCacheLogic.cs
- NativeMethods.cs
- JumpItem.cs
- WmlPhoneCallAdapter.cs
- Symbol.cs
- Binding.cs