Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PackageDigitalSignatureManager.cs
- RedirectionProxy.cs
- ButtonAutomationPeer.cs
- FactoryId.cs
- IgnoreDeviceFilterElement.cs
- TextBreakpoint.cs
- ConfigXmlSignificantWhitespace.cs
- WebBrowserHelper.cs
- ProtocolsConfiguration.cs
- UniqueIdentifierService.cs
- CaseExpr.cs
- TabControlEvent.cs
- TextTreeDeleteContentUndoUnit.cs
- TemplateControlBuildProvider.cs
- LocationSectionRecord.cs
- CAGDesigner.cs
- LinkUtilities.cs
- ObjectDataSourceSelectingEventArgs.cs
- CodeArrayIndexerExpression.cs
- MSAAEventDispatcher.cs
- TextElementEnumerator.cs
- UTF32Encoding.cs
- SecurityException.cs
- XPathDocumentIterator.cs
- WindowsListViewGroup.cs
- X509ChainPolicy.cs
- FixedNode.cs
- GridEntryCollection.cs
- ValidationEventArgs.cs
- Drawing.cs
- ToggleButtonAutomationPeer.cs
- StreamUpgradeBindingElement.cs
- TextCompositionEventArgs.cs
- Thumb.cs
- CacheMemory.cs
- AutomationPeer.cs
- FormsAuthentication.cs
- GridViewDeletedEventArgs.cs
- CustomError.cs
- HtmlGenericControl.cs
- DocumentSequenceHighlightLayer.cs
- FontInfo.cs
- ConfigXmlText.cs
- DataColumnMapping.cs
- LambdaCompiler.Expressions.cs
- XmlCharacterData.cs
- ContractSearchPattern.cs
- Typeface.cs
- InfoCardTraceRecord.cs
- BitConverter.cs
- ResXBuildProvider.cs
- InputLanguageManager.cs
- Error.cs
- SdlChannelSink.cs
- GlobalProxySelection.cs
- SwitchAttribute.cs
- ClipboardData.cs
- InteropExecutor.cs
- IgnoreFileBuildProvider.cs
- PropertyPath.cs
- SqlCrossApplyToCrossJoin.cs
- DependencyObjectPropertyDescriptor.cs
- EntityClientCacheKey.cs
- Slider.cs
- RowToFieldTransformer.cs
- BulletDecorator.cs
- ColumnTypeConverter.cs
- QilList.cs
- dataprotectionpermissionattribute.cs
- FixedSOMContainer.cs
- WeakEventManager.cs
- Comparer.cs
- RemoteWebConfigurationHostServer.cs
- ControlBuilderAttribute.cs
- CommonGetThemePartSize.cs
- autovalidator.cs
- Attribute.cs
- SubMenuStyle.cs
- GifBitmapDecoder.cs
- WebBodyFormatMessageProperty.cs
- pingexception.cs
- InputReportEventArgs.cs
- ButtonStandardAdapter.cs
- TraceXPathNavigator.cs
- DirectoryLocalQuery.cs
- RightsManagementManager.cs
- LogicalTreeHelper.cs
- FixedTextView.cs
- PointCollection.cs
- TreeNodeStyleCollectionEditor.cs
- RightNameExpirationInfoPair.cs
- PtsHost.cs
- XmlWriterSettings.cs
- TextWriterTraceListener.cs
- HtmlEmptyTagControlBuilder.cs
- InvariantComparer.cs
- TableRow.cs
- CodeComment.cs
- CmsInterop.cs
- WebPermission.cs