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
- StringConcat.cs
- DataPagerFieldCollection.cs
- ParameterCollectionEditorForm.cs
- XmlDictionary.cs
- Label.cs
- XmlSiteMapProvider.cs
- SelectionGlyphBase.cs
- TimeStampChecker.cs
- OleDbRowUpdatingEvent.cs
- Menu.cs
- SHA512Managed.cs
- UserNameSecurityTokenAuthenticator.cs
- ContentPropertyAttribute.cs
- DesignerTransactionCloseEvent.cs
- XmlBoundElement.cs
- DocumentCollection.cs
- AmbientProperties.cs
- CalculatedColumn.cs
- RenderData.cs
- ConfigXmlDocument.cs
- TextAnchor.cs
- IOThreadScheduler.cs
- RoleManagerSection.cs
- BrowserPolicyValidator.cs
- DataKeyCollection.cs
- TerminatorSinks.cs
- EFDataModelProvider.cs
- LayoutInformation.cs
- LookupBindingPropertiesAttribute.cs
- RequestQueryParser.cs
- MultiTouchSystemGestureLogic.cs
- HotCommands.cs
- StagingAreaInputItem.cs
- WorkerRequest.cs
- DataContractSerializer.cs
- SqlLiftIndependentRowExpressions.cs
- ScriptControl.cs
- DecimalConverter.cs
- ConnectionString.cs
- IndentedTextWriter.cs
- ZipIOCentralDirectoryBlock.cs
- _StreamFramer.cs
- DoubleCollectionValueSerializer.cs
- ColorPalette.cs
- ObjectListCommandCollection.cs
- _ProxyChain.cs
- IPGlobalProperties.cs
- ToolboxItemFilterAttribute.cs
- ContactManager.cs
- Accessible.cs
- Guid.cs
- HostExecutionContextManager.cs
- CodeGen.cs
- InheritanceContextHelper.cs
- CheckBox.cs
- DataGridBoolColumn.cs
- CompositionTarget.cs
- BitmapEditor.cs
- BitmapEffect.cs
- DesignerTransactionCloseEvent.cs
- XmlQueryStaticData.cs
- BitStream.cs
- TypeReference.cs
- CodeChecksumPragma.cs
- GridItemPattern.cs
- PhysicalOps.cs
- Nullable.cs
- SiteMapHierarchicalDataSourceView.cs
- ReceiveMessageContent.cs
- DictionarySectionHandler.cs
- OpacityConverter.cs
- FormattedText.cs
- DataObjectAttribute.cs
- ArcSegment.cs
- Operators.cs
- ServiceNameElement.cs
- Vector3dCollection.cs
- QueryContinueDragEvent.cs
- SmtpNetworkElement.cs
- SQLString.cs
- RadioButtonList.cs
- DocumentViewer.cs
- ObjectFullSpanRewriter.cs
- InternalRelationshipCollection.cs
- Enum.cs
- FilterElement.cs
- LifetimeServices.cs
- RealizedColumnsBlock.cs
- EntityStoreSchemaGenerator.cs
- AttributeExtensions.cs
- BulletChrome.cs
- WorkflowMarkupSerializationProvider.cs
- IndicCharClassifier.cs
- SqlSupersetValidator.cs
- CssStyleCollection.cs
- RSACryptoServiceProvider.cs
- QueryableDataSourceEditData.cs
- DesignerCategoryAttribute.cs
- ChannelSinkStacks.cs
- InputScopeNameConverter.cs