Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GeometryModel3D.cs
- SqlProcedureAttribute.cs
- Utils.cs
- SmiXetterAccessMap.cs
- BooleanKeyFrameCollection.cs
- MasterPageBuildProvider.cs
- NativeMethods.cs
- SharedDp.cs
- ContactManager.cs
- ProtocolsConfiguration.cs
- ReliableReplySessionChannel.cs
- ObjectViewListener.cs
- PenThread.cs
- TextDecorationUnitValidation.cs
- XmlBinaryReaderSession.cs
- WebResourceUtil.cs
- FormViewDeleteEventArgs.cs
- LinearGradientBrush.cs
- FixedSOMPage.cs
- OutputCacheSettings.cs
- NamespaceMapping.cs
- AnnotationAuthorChangedEventArgs.cs
- StoreUtilities.cs
- LocalizationCodeDomSerializer.cs
- PrePostDescendentsWalker.cs
- SessionStateContainer.cs
- EntitySet.cs
- BulletDecorator.cs
- RotateTransform.cs
- DataGridTextBoxColumn.cs
- RuleElement.cs
- CompressionTransform.cs
- BasePattern.cs
- TreeNodeClickEventArgs.cs
- SqlConnectionHelper.cs
- DecoratedNameAttribute.cs
- ProcessModule.cs
- Color.cs
- EndpointDispatcherTable.cs
- EmissiveMaterial.cs
- DataKeyCollection.cs
- NavigationExpr.cs
- EntityDataSourceUtil.cs
- DocumentPaginator.cs
- DrawingCollection.cs
- SqlBuilder.cs
- FtpCachePolicyElement.cs
- LabelEditEvent.cs
- SchemaInfo.cs
- MasterPageCodeDomTreeGenerator.cs
- Rect.cs
- MatrixTransform.cs
- HasCopySemanticsAttribute.cs
- XmlSignatureManifest.cs
- Parser.cs
- keycontainerpermission.cs
- SecurityDescriptor.cs
- MemberPath.cs
- ObjectQuery.cs
- wgx_render.cs
- TextMetrics.cs
- ConnectionPoint.cs
- ReceiveActivityValidator.cs
- ControlBuilderAttribute.cs
- CompilationRelaxations.cs
- HeaderedContentControl.cs
- DataGrid.cs
- NavigationFailedEventArgs.cs
- FormViewModeEventArgs.cs
- SystemWebCachingSectionGroup.cs
- ExtensionWindowResizeGrip.cs
- Token.cs
- EntityStoreSchemaFilterEntry.cs
- XPathBuilder.cs
- Int32Rect.cs
- ReferentialConstraint.cs
- DrawListViewSubItemEventArgs.cs
- TreeWalker.cs
- PropagatorResult.cs
- ExtensibleClassFactory.cs
- Profiler.cs
- DesignBinding.cs
- AnnotationComponentManager.cs
- MSG.cs
- RecordConverter.cs
- UnsafeNetInfoNativeMethods.cs
- ExpandedProjectionNode.cs
- Compiler.cs
- EtwTrackingBehaviorElement.cs
- ComponentCommands.cs
- PersonalizableAttribute.cs
- StringPropertyBuilder.cs
- TextLineResult.cs
- AutomationPeer.cs
- RepeatButton.cs
- ObjectAnimationBase.cs
- WebReference.cs
- InkCanvasSelectionAdorner.cs
- PropertyReferenceSerializer.cs
- WorkBatch.cs