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
- HttpServerVarsCollection.cs
- StickyNoteContentControl.cs
- IncrementalReadDecoders.cs
- CloudCollection.cs
- FamilyTypeface.cs
- SoapReflectionImporter.cs
- DataGridViewControlCollection.cs
- StringUtil.cs
- EventListener.cs
- AuthorizationSection.cs
- GlyphingCache.cs
- DbTypeMap.cs
- SqlBulkCopy.cs
- InlinedAggregationOperatorEnumerator.cs
- ConfigurationErrorsException.cs
- DispatcherSynchronizationContext.cs
- UnauthorizedAccessException.cs
- DescendantOverDescendantQuery.cs
- QueryStringHandler.cs
- MailAddressCollection.cs
- CompressEmulationStream.cs
- MonikerUtility.cs
- CreateDataSourceDialog.cs
- BitmapCache.cs
- Perspective.cs
- XhtmlBasicCommandAdapter.cs
- SerialPort.cs
- SharedPerformanceCounter.cs
- ZipIOExtraFieldZip64Element.cs
- login.cs
- ToolTipAutomationPeer.cs
- FixedSOMTextRun.cs
- HtmlElementErrorEventArgs.cs
- RNGCryptoServiceProvider.cs
- OneToOneMappingSerializer.cs
- BamlLocalizableResourceKey.cs
- BaseTreeIterator.cs
- MarkupObject.cs
- SeparatorAutomationPeer.cs
- StylusPointPropertyInfo.cs
- StylusCaptureWithinProperty.cs
- Tool.cs
- DetailsViewRow.cs
- URLMembershipCondition.cs
- XmlReflectionImporter.cs
- ZoneLinkButton.cs
- StrongTypingException.cs
- PresentationTraceSources.cs
- PrimaryKeyTypeConverter.cs
- XmlSchemaException.cs
- Ipv6Element.cs
- MultiplexingDispatchMessageFormatter.cs
- XamlRtfConverter.cs
- MethodImplAttribute.cs
- WmlPanelAdapter.cs
- WebConfigurationHost.cs
- Int64.cs
- EntityContainerRelationshipSet.cs
- SplitterPanelDesigner.cs
- EncoderFallback.cs
- BufferedOutputAsyncStream.cs
- WaitHandle.cs
- ZipIOCentralDirectoryFileHeader.cs
- CodeTypeParameter.cs
- ThemeDirectoryCompiler.cs
- DBBindings.cs
- BaseAutoFormat.cs
- MachineKeyConverter.cs
- WebPartConnectionsConfigureVerb.cs
- ImageClickEventArgs.cs
- VisualTransition.cs
- BinaryReader.cs
- _CommandStream.cs
- CompositionCommandSet.cs
- LineSegment.cs
- TextChangedEventArgs.cs
- SpecularMaterial.cs
- Debugger.cs
- Hex.cs
- ipaddressinformationcollection.cs
- sqlpipe.cs
- DataSourceXmlClassAttribute.cs
- DateTimeOffset.cs
- HealthMonitoringSection.cs
- TextTreeText.cs
- MatchingStyle.cs
- FormatterConverter.cs
- ProfileProvider.cs
- DataSourceCacheDurationConverter.cs
- SoapCommonClasses.cs
- EventLogEntry.cs
- ObjectContextServiceProvider.cs
- JsonXmlDataContract.cs
- ApplicationDirectoryMembershipCondition.cs
- WebServiceMethodData.cs
- RunClient.cs
- MenuItem.cs
- TabRenderer.cs
- InfiniteTimeSpanConverter.cs
- SystemColors.cs