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
- ParameterCollectionEditorForm.cs
- StreamUpdate.cs
- NetworkStream.cs
- SmtpSection.cs
- XmlSignatureManifest.cs
- CountAggregationOperator.cs
- ListBoxItemAutomationPeer.cs
- SingleQueryOperator.cs
- ClickablePoint.cs
- DocumentOrderQuery.cs
- Label.cs
- MetadataArtifactLoaderResource.cs
- CommunicationObjectManager.cs
- TypedRowHandler.cs
- DataSourceCache.cs
- GetWorkflowTree.cs
- ImageCollectionEditor.cs
- DynamicValueConverter.cs
- WmlSelectionListAdapter.cs
- StylusPlugin.cs
- DataGridColumnDropSeparator.cs
- CodeParameterDeclarationExpression.cs
- FileLogRecord.cs
- DoubleAnimationUsingPath.cs
- ToolStripContentPanel.cs
- _BaseOverlappedAsyncResult.cs
- StylusButtonEventArgs.cs
- CodeDirectoryCompiler.cs
- RightsManagementInformation.cs
- LayoutExceptionEventArgs.cs
- GCHandleCookieTable.cs
- SettingsBindableAttribute.cs
- DataRowView.cs
- Stylesheet.cs
- IteratorDescriptor.cs
- wgx_render.cs
- PageHandlerFactory.cs
- StickyNoteHelper.cs
- XmlAggregates.cs
- XPathPatternParser.cs
- DynamicRenderer.cs
- WebPartEditorCancelVerb.cs
- WindowsContainer.cs
- UnitySerializationHolder.cs
- XPathNodeHelper.cs
- ScrollEventArgs.cs
- SafeProcessHandle.cs
- Types.cs
- InteropAutomationProvider.cs
- Quaternion.cs
- EventData.cs
- DBProviderConfigurationHandler.cs
- GridViewUpdateEventArgs.cs
- PerspectiveCamera.cs
- Encoder.cs
- RequestCacheValidator.cs
- WmfPlaceableFileHeader.cs
- BackgroundWorker.cs
- ProfilePropertySettingsCollection.cs
- CompiledQuery.cs
- EmissiveMaterial.cs
- AssertFilter.cs
- BindingEntityInfo.cs
- ReaderWriterLock.cs
- FileDataSourceCache.cs
- Drawing.cs
- ProjectedWrapper.cs
- SignatureConfirmations.cs
- MarkupCompilePass2.cs
- TypeSystem.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- XmlTypeAttribute.cs
- DomainUpDown.cs
- BamlMapTable.cs
- ReflectionUtil.cs
- XmlArrayItemAttribute.cs
- SimpleModelProvider.cs
- SerializationInfoEnumerator.cs
- localization.cs
- PerformanceCounter.cs
- JsonFormatWriterGenerator.cs
- LockRecursionException.cs
- RectangleF.cs
- NumericUpDown.cs
- ObjectConverter.cs
- VisualStyleElement.cs
- HttpAsyncResult.cs
- BasePropertyDescriptor.cs
- ConfigPathUtility.cs
- XmlUnspecifiedAttribute.cs
- XmlElementAttribute.cs
- ProtocolsConfigurationEntry.cs
- Baml2006SchemaContext.cs
- ArraySet.cs
- WebPartEventArgs.cs
- UnmanagedBitmapWrapper.cs
- TraceSwitch.cs
- ArraySortHelper.cs
- HttpModuleCollection.cs
- DataGridPageChangedEventArgs.cs