Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1305376 / ToolStripContentPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // 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
- HtmlInputReset.cs
- ExpressionParser.cs
- fixedPageContentExtractor.cs
- Int32Rect.cs
- ReadWriteSpinLock.cs
- DataKeyCollection.cs
- XmlNullResolver.cs
- EventLogPermissionEntryCollection.cs
- HtmlFormAdapter.cs
- PropertyNames.cs
- SubtreeProcessor.cs
- ComboBox.cs
- ListMarkerLine.cs
- SuppressIldasmAttribute.cs
- FormsAuthenticationCredentials.cs
- BaseCollection.cs
- sqlpipe.cs
- MetadataItem.cs
- TypeConverter.cs
- CardSpaceSelector.cs
- Point4DValueSerializer.cs
- PerformanceCountersElement.cs
- VideoDrawing.cs
- StringPropertyBuilder.cs
- Logging.cs
- ExpressionsCollectionConverter.cs
- AccessedThroughPropertyAttribute.cs
- LogArchiveSnapshot.cs
- XmlSchemaRedefine.cs
- Utility.cs
- PropertyGrid.cs
- PropertyMapper.cs
- XmlComplianceUtil.cs
- Baml2006KnownTypes.cs
- DATA_BLOB.cs
- SecurityManager.cs
- ToolStripOverflowButton.cs
- SecurityDescriptor.cs
- DataControlFieldTypeEditor.cs
- EntityContainerAssociationSet.cs
- ConfigXmlCDataSection.cs
- Function.cs
- UInt32Converter.cs
- HttpValueCollection.cs
- BitSet.cs
- WebColorConverter.cs
- FamilyCollection.cs
- FilterQueryOptionExpression.cs
- ReferencedCollectionType.cs
- BitHelper.cs
- ACL.cs
- TimeManager.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- GifBitmapDecoder.cs
- Literal.cs
- RootBuilder.cs
- DrawingBrush.cs
- RIPEMD160.cs
- ObjectAnimationBase.cs
- QueryStringParameter.cs
- ButtonBaseAdapter.cs
- GregorianCalendarHelper.cs
- ErrorFormatter.cs
- MetadataProperty.cs
- DomainUpDown.cs
- BaseUriHelper.cs
- TaskSchedulerException.cs
- SafeNativeMethods.cs
- WmlTextViewAdapter.cs
- ActivationServices.cs
- SizeIndependentAnimationStorage.cs
- XmlArrayItemAttributes.cs
- XamlStream.cs
- XmlEntityReference.cs
- documentsequencetextpointer.cs
- ExpressionParser.cs
- ResourceType.cs
- WorkflowOperationBehavior.cs
- SecurityHelper.cs
- WinEventHandler.cs
- ComponentResourceManager.cs
- PcmConverter.cs
- CatalogPartCollection.cs
- PropertyGrid.cs
- Effect.cs
- OdbcParameter.cs
- SourceChangedEventArgs.cs
- UInt16Converter.cs
- Attributes.cs
- NativeActivityTransactionContext.cs
- LogicalExpr.cs
- WebPartManagerInternals.cs
- TemplateXamlParser.cs
- IndexExpression.cs
- FlagsAttribute.cs
- Line.cs
- RSAOAEPKeyExchangeDeformatter.cs
- TextTreeTextElementNode.cs
- XPathParser.cs
- ResourceManagerWrapper.cs