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
- WebPartActionVerb.cs
- TypeContext.cs
- DelegateOutArgument.cs
- TreeNodeBindingCollection.cs
- DecoderFallbackWithFailureFlag.cs
- DataGridView.cs
- ModelEditingScope.cs
- Update.cs
- ConsumerConnectionPoint.cs
- ButtonBaseAdapter.cs
- DataGridViewRowHeaderCell.cs
- EmbeddedMailObjectsCollection.cs
- XmlAnyAttributeAttribute.cs
- Maps.cs
- SharedHttpTransportManager.cs
- EntityTemplateFactory.cs
- MouseGestureValueSerializer.cs
- WebPartsPersonalization.cs
- FontStyleConverter.cs
- OletxDependentTransaction.cs
- MemberCollection.cs
- DocumentXmlWriter.cs
- CompoundFileIOPermission.cs
- TypedServiceOperationListItem.cs
- CollectionChangedEventManager.cs
- GridViewAutomationPeer.cs
- AppearanceEditorPart.cs
- SHA1Managed.cs
- CqlParser.cs
- TypedReference.cs
- CompressionTracing.cs
- MetadataConversionError.cs
- FileDataSourceCache.cs
- Relationship.cs
- InstancePersistence.cs
- PassportAuthenticationModule.cs
- RunClient.cs
- BooleanConverter.cs
- ManualWorkflowSchedulerService.cs
- CopyNodeSetAction.cs
- CredentialCache.cs
- Update.cs
- XmlDictionaryReader.cs
- TreeViewEvent.cs
- DefaultTextStoreTextComposition.cs
- PreviewPageInfo.cs
- Camera.cs
- ApplicationServicesHostFactory.cs
- InputScopeConverter.cs
- ReachDocumentReferenceCollectionSerializer.cs
- SchemaDeclBase.cs
- __Filters.cs
- BufferedMessageData.cs
- DataTableMappingCollection.cs
- OracleInternalConnection.cs
- Point.cs
- NativeMethods.cs
- Rss20ItemFormatter.cs
- Utils.cs
- regiisutil.cs
- ArrangedElementCollection.cs
- AssociationSetEnd.cs
- ProfileInfo.cs
- CompensationTokenData.cs
- Utility.cs
- ByteConverter.cs
- NonDualMessageSecurityOverHttpElement.cs
- WebException.cs
- CustomErrorsSectionWrapper.cs
- MsmqIntegrationChannelListener.cs
- ResetableIterator.cs
- KeyValueConfigurationElement.cs
- XsltArgumentList.cs
- DynamicPropertyReader.cs
- SqlSelectStatement.cs
- TriggerActionCollection.cs
- ConfigurationManagerHelper.cs
- AggregateNode.cs
- RtfToken.cs
- BaseComponentEditor.cs
- SqlCacheDependency.cs
- Speller.cs
- IconEditor.cs
- XamlStream.cs
- KnownTypesProvider.cs
- CfgParser.cs
- XmlFormatReaderGenerator.cs
- httpapplicationstate.cs
- StringUtil.cs
- ParameterDataSourceExpression.cs
- CaseCqlBlock.cs
- EditBehavior.cs
- CellParaClient.cs
- TreeViewCancelEvent.cs
- TextEditorParagraphs.cs
- TypeSystem.cs
- TableStyle.cs
- Menu.cs
- XhtmlConformanceSection.cs
- PageThemeCodeDomTreeGenerator.cs