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
- WebPartConnection.cs
- DefaultBinder.cs
- XmlWrappingWriter.cs
- MimeBasePart.cs
- GridViewSortEventArgs.cs
- CollectionConverter.cs
- WebBrowserUriTypeConverter.cs
- Exception.cs
- AttachedAnnotationChangedEventArgs.cs
- BuilderInfo.cs
- FixedNode.cs
- VersionedStreamOwner.cs
- CompiledAction.cs
- DeclarativeExpressionConditionDeclaration.cs
- Documentation.cs
- TokenBasedSetEnumerator.cs
- DiscoveryReference.cs
- TextLine.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- StringCollectionMarkupSerializer.cs
- DbProviderServices.cs
- SystemKeyConverter.cs
- DataGridViewRowCollection.cs
- ViewManager.cs
- LayoutTableCell.cs
- DivideByZeroException.cs
- RequestTimeoutManager.cs
- SymmetricKeyWrap.cs
- SplashScreenNativeMethods.cs
- SvcFileManager.cs
- NavigatorOutput.cs
- ToolStripPanelRow.cs
- PageVisual.cs
- SimpleHandlerBuildProvider.cs
- QueryGeneratorBase.cs
- PolicyStatement.cs
- _ConnectionGroup.cs
- MenuTracker.cs
- ApplicationServiceHelper.cs
- odbcmetadatafactory.cs
- IPPacketInformation.cs
- BigInt.cs
- ListParaClient.cs
- Propagator.ExtentPlaceholderCreator.cs
- TextSpan.cs
- ReliableMessagingVersion.cs
- ToolboxComponentsCreatedEventArgs.cs
- XmlDataDocument.cs
- ColorDialog.cs
- AddToCollection.cs
- FileDialogPermission.cs
- rsa.cs
- BitmapPalette.cs
- FontStyleConverter.cs
- SystemPens.cs
- ContextDataSourceView.cs
- AutomationProperty.cs
- MethodCallTranslator.cs
- EditingCommands.cs
- AsymmetricSignatureDeformatter.cs
- ObjectDataSourceSelectingEventArgs.cs
- DynamicPropertyReader.cs
- BufferBuilder.cs
- XmlSchemaAnnotated.cs
- ResourcePool.cs
- RSAPKCS1SignatureDeformatter.cs
- Function.cs
- HttpContextServiceHost.cs
- MultipartContentParser.cs
- DecoderExceptionFallback.cs
- GiveFeedbackEvent.cs
- TableLayoutRowStyleCollection.cs
- IdnElement.cs
- StringAnimationBase.cs
- CriticalFinalizerObject.cs
- ArrayWithOffset.cs
- Cursor.cs
- GACIdentityPermission.cs
- CompositionAdorner.cs
- Double.cs
- WebBrowser.cs
- LoginUtil.cs
- ProcessHostServerConfig.cs
- autovalidator.cs
- BevelBitmapEffect.cs
- MailAddress.cs
- AdPostCacheSubstitution.cs
- DBPropSet.cs
- TypedElement.cs
- GroupAggregateExpr.cs
- PolicyStatement.cs
- CheckBox.cs
- ClientSponsor.cs
- EventDescriptorCollection.cs
- COM2Enum.cs
- DataControlImageButton.cs
- SafeEventLogReadHandle.cs
- CompensateDesigner.cs
- IItemProperties.cs
- DrawListViewSubItemEventArgs.cs