Code:
/ FX-1434 / FX-1434 / 1.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
- Stacktrace.cs
- ColumnMapVisitor.cs
- XmlWhitespace.cs
- NamespaceList.cs
- PromptBuilder.cs
- MarkupWriter.cs
- DataGridTextBoxColumn.cs
- RenamedEventArgs.cs
- KeyValueSerializer.cs
- ComponentDispatcherThread.cs
- CqlWriter.cs
- Helpers.cs
- CodeRegionDirective.cs
- KeyValueSerializer.cs
- SpotLight.cs
- RoleManagerEventArgs.cs
- EdmComplexTypeAttribute.cs
- ColorTransformHelper.cs
- CustomAttributeBuilder.cs
- MD5.cs
- SourceFileBuildProvider.cs
- CodeMemberEvent.cs
- TimeSpanOrInfiniteConverter.cs
- AssociationTypeEmitter.cs
- AssemblyUtil.cs
- BaseEntityWrapper.cs
- ZipFileInfo.cs
- ClientSettingsProvider.cs
- AppSettingsExpressionEditor.cs
- TdsParserSessionPool.cs
- FrameworkElementFactory.cs
- Stylus.cs
- ColorPalette.cs
- MenuStrip.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SemanticResolver.cs
- StackBuilderSink.cs
- TextFormatter.cs
- TemplateNameScope.cs
- LocalizedNameDescriptionPair.cs
- SplitterPanel.cs
- TimeStampChecker.cs
- XmlArrayItemAttributes.cs
- ScriptBehaviorDescriptor.cs
- HMACSHA384.cs
- ApplicationDirectoryMembershipCondition.cs
- ListViewCommandEventArgs.cs
- CorrelationTokenInvalidatedHandler.cs
- EntityContainerAssociationSetEnd.cs
- NativeMethods.cs
- BitmapEffectInput.cs
- Package.cs
- RemotingConfigParser.cs
- Baml2006KeyRecord.cs
- InProcStateClientManager.cs
- TextModifierScope.cs
- isolationinterop.cs
- EventPrivateKey.cs
- WindowsFormsDesignerOptionService.cs
- InputElement.cs
- SoapAttributeAttribute.cs
- Compiler.cs
- AmbientLight.cs
- TemplateBindingExpressionConverter.cs
- DrawToolTipEventArgs.cs
- AccessDataSourceView.cs
- PathGeometry.cs
- AbstractSvcMapFileLoader.cs
- fixedPageContentExtractor.cs
- TabItemWrapperAutomationPeer.cs
- TransactionFilter.cs
- ExtensionWindowHeader.cs
- ListBase.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- _NestedSingleAsyncResult.cs
- HttpGetProtocolImporter.cs
- DataGridAddNewRow.cs
- AssemblyResourceLoader.cs
- CodeGroup.cs
- XpsResource.cs
- CustomAttribute.cs
- BufferBuilder.cs
- DesignTimeType.cs
- DataGridViewSelectedColumnCollection.cs
- VerbConverter.cs
- NotSupportedException.cs
- ColumnReorderedEventArgs.cs
- DocumentApplicationDocumentViewer.cs
- SqlHelper.cs
- LinkArea.cs
- ConfigurationHandlersInstallComponent.cs
- CompilerWrapper.cs
- ServerIdentity.cs
- PropertyDescriptor.cs
- TextDecorationCollectionConverter.cs
- DataGridItemCollection.cs
- StdValidatorsAndConverters.cs
- MetabaseSettings.cs
- PopupRoot.cs
- DataViewSetting.cs