Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripItemRenderEventArgs.cs / 1305376 / 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
- XPathChildIterator.cs
- DataGridViewRowHeaderCell.cs
- PageTheme.cs
- StateRuntime.cs
- SkinBuilder.cs
- ObjectComplexPropertyMapping.cs
- Positioning.cs
- DateTimeFormatInfo.cs
- TabItem.cs
- RotateTransform3D.cs
- BitmapEffectrendercontext.cs
- PnrpPermission.cs
- ListBox.cs
- Module.cs
- DataRelationPropertyDescriptor.cs
- SHA384Managed.cs
- ResourceWriter.cs
- TextClipboardData.cs
- FontStretches.cs
- TextEditorThreadLocalStore.cs
- HtmlImage.cs
- SiteMapSection.cs
- Validator.cs
- OutputCacheModule.cs
- DebugHandleTracker.cs
- KeyEvent.cs
- LineGeometry.cs
- OperatingSystem.cs
- PerspectiveCamera.cs
- DataGridViewRowHeaderCell.cs
- ObjectQuery.cs
- TextTreeText.cs
- ContextMenu.cs
- SqlDataSourceView.cs
- X509CertificateTrustedIssuerElementCollection.cs
- EditorZoneBase.cs
- UmAlQuraCalendar.cs
- DynamicMethod.cs
- CachedTypeface.cs
- ObjectIDGenerator.cs
- WindowsListBox.cs
- TemplateColumn.cs
- EventData.cs
- StreamGeometryContext.cs
- Point4DValueSerializer.cs
- StoreItemCollection.Loader.cs
- CodePropertyReferenceExpression.cs
- XmlCharType.cs
- EdmSchemaError.cs
- AgileSafeNativeMemoryHandle.cs
- SourceLineInfo.cs
- BinarySerializer.cs
- CodeNamespace.cs
- XmlBindingWorker.cs
- ProfileSettingsCollection.cs
- HttpHandlerActionCollection.cs
- OrderToken.cs
- MSHTMLHostUtil.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- ProcessInputEventArgs.cs
- PowerStatus.cs
- ObjectDataSourceSelectingEventArgs.cs
- ClientSideProviderDescription.cs
- TimeoutHelper.cs
- InputLangChangeEvent.cs
- SqlDelegatedTransaction.cs
- Dictionary.cs
- MenuItemStyle.cs
- Pts.cs
- UntypedNullExpression.cs
- HashCoreRequest.cs
- CryptoConfig.cs
- TypeContext.cs
- DataSysAttribute.cs
- TextDecoration.cs
- AppModelKnownContentFactory.cs
- NGCSerializer.cs
- AuthorizationRuleCollection.cs
- WindowsStartMenu.cs
- NavigationHelper.cs
- Point3DCollection.cs
- UseLicense.cs
- WorkflowOperationBehavior.cs
- PersistChildrenAttribute.cs
- FileDataSourceCache.cs
- ImageIndexConverter.cs
- DataGridItemEventArgs.cs
- CommandHelpers.cs
- SchemaImporter.cs
- Figure.cs
- InvalidFilterCriteriaException.cs
- XmlDigitalSignatureProcessor.cs
- UserControlParser.cs
- RoleManagerSection.cs
- RichTextBoxContextMenu.cs
- Soap.cs
- CommandID.cs
- Point.cs
- FacetValueContainer.cs
- UIElementHelper.cs