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
- FieldBuilder.cs
- activationcontext.cs
- ClipboardData.cs
- SystemIPGlobalProperties.cs
- HScrollProperties.cs
- DbConnectionPoolGroup.cs
- XmlSchema.cs
- EmptyCollection.cs
- UrlSyndicationContent.cs
- ScriptResourceAttribute.cs
- ConnectAlgorithms.cs
- DataGridViewRow.cs
- RefExpr.cs
- CommandField.cs
- PageThemeBuildProvider.cs
- WindowsRichEdit.cs
- HMACRIPEMD160.cs
- ToolboxItemCollection.cs
- StylusPointPropertyInfo.cs
- DataSourceCache.cs
- _BufferOffsetSize.cs
- MutexSecurity.cs
- RotateTransform.cs
- DoubleKeyFrameCollection.cs
- TextDecorationCollection.cs
- CoTaskMemUnicodeSafeHandle.cs
- TerminateSequenceResponse.cs
- CorruptingExceptionCommon.cs
- WebHttpSecurityModeHelper.cs
- UriSection.cs
- SqlDelegatedTransaction.cs
- EntityContainerEmitter.cs
- UIElement3D.cs
- InputScope.cs
- TCEAdapterGenerator.cs
- DataControlExtensions.cs
- SelectionPattern.cs
- BindToObject.cs
- ProtocolInformationWriter.cs
- ReadWriteControlDesigner.cs
- StreamWriter.cs
- EmptyQuery.cs
- webproxy.cs
- ExceptionUtil.cs
- SubstitutionDesigner.cs
- Vector3DConverter.cs
- GlobalEventManager.cs
- Error.cs
- UrlAuthorizationModule.cs
- SqlCacheDependencyDatabase.cs
- TableStyle.cs
- SimpleHandlerBuildProvider.cs
- ProfileService.cs
- Deserializer.cs
- sqlinternaltransaction.cs
- CatalogPartCollection.cs
- EncoderExceptionFallback.cs
- HttpPostedFile.cs
- ItemChangedEventArgs.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- __TransparentProxy.cs
- IdleTimeoutMonitor.cs
- DataServiceQueryProvider.cs
- OleDbErrorCollection.cs
- WebPartManagerInternals.cs
- LineInfo.cs
- AssemblyBuilderData.cs
- ToolStripItem.cs
- VerticalConnector.xaml.cs
- Material.cs
- SymmetricKeyWrap.cs
- DateBoldEvent.cs
- MatrixTransform3D.cs
- KeyedCollection.cs
- SurrogateEncoder.cs
- TextWriter.cs
- VScrollProperties.cs
- TextEditorMouse.cs
- MulticastDelegate.cs
- IsolatedStorageFileStream.cs
- UriScheme.cs
- StatusInfoItem.cs
- WebPartConnectionsCloseVerb.cs
- NonSerializedAttribute.cs
- SplitContainerDesigner.cs
- SlipBehavior.cs
- Dynamic.cs
- XmlExpressionDumper.cs
- ISO2022Encoding.cs
- DeferredRunTextReference.cs
- KeyGestureValueSerializer.cs
- Thread.cs
- InputBinding.cs
- DatatypeImplementation.cs
- __Error.cs
- SQLInt16Storage.cs
- NameGenerator.cs
- DesignerOptionService.cs
- clipboard.cs
- DateTimeFormat.cs