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
- CodeMemberField.cs
- EncoderNLS.cs
- DataServiceRequestException.cs
- FunctionNode.cs
- CodeTypeConstructor.cs
- TypeInformation.cs
- DataTableReader.cs
- SingleResultAttribute.cs
- XPathConvert.cs
- ToolStripPanelCell.cs
- EventMappingSettingsCollection.cs
- IChannel.cs
- TraceHandler.cs
- ProtocolsSection.cs
- _SingleItemRequestCache.cs
- ReaderWriterLockWrapper.cs
- TCPListener.cs
- DateTimeOffset.cs
- RuntimeHelpers.cs
- BoundField.cs
- UIPermission.cs
- ValidationSummary.cs
- CodeGroup.cs
- TriState.cs
- XmlLinkedNode.cs
- RelationshipWrapper.cs
- GridViewSortEventArgs.cs
- LinkUtilities.cs
- WindowsScroll.cs
- IdentityValidationException.cs
- DetailsViewActionList.cs
- UserControlDesigner.cs
- WorkflowServiceNamespace.cs
- WorkflowPersistenceService.cs
- BigInt.cs
- PackageProperties.cs
- ArgumentException.cs
- webeventbuffer.cs
- BaseCAMarshaler.cs
- PageCache.cs
- TokenizerHelper.cs
- ScriptResourceDefinition.cs
- TextParentUndoUnit.cs
- BuildResult.cs
- DefaultHttpHandler.cs
- ProfileGroupSettingsCollection.cs
- XmlBoundElement.cs
- SqlNotificationEventArgs.cs
- SqlCommandBuilder.cs
- SimpleHandlerFactory.cs
- CellCreator.cs
- XmlSerializerNamespaces.cs
- PersonalizableAttribute.cs
- BinaryParser.cs
- ProcessHostConfigUtils.cs
- ReadOnlyCollectionBase.cs
- SemanticResolver.cs
- ManagementQuery.cs
- HtmlCommandAdapter.cs
- COM2TypeInfoProcessor.cs
- ObjectReaderCompiler.cs
- DictionaryKeyPropertyAttribute.cs
- PrintControllerWithStatusDialog.cs
- NameSpaceExtractor.cs
- OracleEncoding.cs
- dataprotectionpermission.cs
- HttpStreamXmlDictionaryReader.cs
- Int16.cs
- ObjectToIdCache.cs
- ActivityDesignerHelper.cs
- RequestQueue.cs
- FunctionQuery.cs
- SystemTcpConnection.cs
- ResourceExpressionBuilder.cs
- LocatorGroup.cs
- XmlAttributeOverrides.cs
- DataSourceListEditor.cs
- DbProviderFactory.cs
- _CookieModule.cs
- DBSchemaRow.cs
- XmlQuerySequence.cs
- InvalidPipelineStoreException.cs
- StrokeSerializer.cs
- SByteStorage.cs
- SocketPermission.cs
- StringFunctions.cs
- ContainerActivationHelper.cs
- TabControl.cs
- LogLogRecordEnumerator.cs
- SQLMoneyStorage.cs
- NetTcpSecurityElement.cs
- MailMessageEventArgs.cs
- JsonUriDataContract.cs
- TemplateKeyConverter.cs
- BitmapFrameDecode.cs
- Completion.cs
- KeyEvent.cs
- FtpCachePolicyElement.cs
- HuffCodec.cs
- ToolboxItemAttribute.cs