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
- JsonWriter.cs
- ContentType.cs
- PropertyPathWorker.cs
- HttpDigestClientCredential.cs
- DrawingServices.cs
- LogicalTreeHelper.cs
- ListenerUnsafeNativeMethods.cs
- TraceHandlerErrorFormatter.cs
- GridViewPageEventArgs.cs
- OleDbInfoMessageEvent.cs
- TokenizerHelper.cs
- OleDbCommandBuilder.cs
- TimeSpanMinutesConverter.cs
- IDQuery.cs
- ElapsedEventArgs.cs
- GrammarBuilderDictation.cs
- ObfuscateAssemblyAttribute.cs
- SecurityRuntime.cs
- InputScope.cs
- SiteMapSection.cs
- ExceptionValidationRule.cs
- Int32Collection.cs
- ConnectionPoint.cs
- PropertiesTab.cs
- WebPartConnectionCollection.cs
- DataGridViewCellStyleChangedEventArgs.cs
- RangeEnumerable.cs
- FileIOPermission.cs
- handlecollector.cs
- ChangeDirector.cs
- ExpressionConverter.cs
- _DisconnectOverlappedAsyncResult.cs
- SiteMap.cs
- SQLDecimal.cs
- ComponentFactoryHelpers.cs
- AttributeEmitter.cs
- FloaterParaClient.cs
- TypeValidationEventArgs.cs
- InstanceData.cs
- SHA256Managed.cs
- ResourceExpressionBuilder.cs
- SQLStringStorage.cs
- _SslState.cs
- TemplateBindingExtension.cs
- StructuredType.cs
- HtmlTableRow.cs
- OleDbException.cs
- ComponentRenameEvent.cs
- TransactionFlowAttribute.cs
- ToolStripDropTargetManager.cs
- SQLSingle.cs
- ProxyAttribute.cs
- HostedHttpRequestAsyncResult.cs
- BaseValidator.cs
- SeparatorAutomationPeer.cs
- DataControlFieldHeaderCell.cs
- MenuEventArgs.cs
- DateTimeHelper.cs
- DescriptionAttribute.cs
- EventHandlers.cs
- BigInt.cs
- CodeDirectoryCompiler.cs
- LifetimeServices.cs
- ResolvedKeyFrameEntry.cs
- GraphicsContainer.cs
- CompiledQueryCacheKey.cs
- WebPartZoneAutoFormat.cs
- DetailsViewUpdateEventArgs.cs
- TTSEvent.cs
- DataSourceHelper.cs
- SslStreamSecurityBindingElement.cs
- SkipQueryOptionExpression.cs
- DoubleAnimationBase.cs
- XmlNamespaceDeclarationsAttribute.cs
- ContentDefinition.cs
- WeakHashtable.cs
- TypeToken.cs
- ListControlActionList.cs
- FunctionParameter.cs
- NonSerializedAttribute.cs
- __Filters.cs
- SetUserLanguageRequest.cs
- EmissiveMaterial.cs
- SecurityManager.cs
- EdgeModeValidation.cs
- wmiprovider.cs
- GenericEnumerator.cs
- Tablet.cs
- KeyTime.cs
- MbpInfo.cs
- PreProcessor.cs
- RegexCharClass.cs
- SafeSecurityHelper.cs
- BamlResourceSerializer.cs
- MetadataUtil.cs
- TableDetailsRow.cs
- ContextStaticAttribute.cs
- DtdParser.cs
- RecordBuilder.cs
- ArrayElementGridEntry.cs