Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripPanelRenderEventArgs.cs / 1305376 / ToolStripPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripPanelRenderEventArgs /// public class ToolStripPanelRenderEventArgs : EventArgs { private ToolStripPanel toolStripPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripPanelRenderEventArgs(Graphics g, ToolStripPanel toolStripPanel) { this.toolStripPanel = toolStripPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// Represents which toolStrip was affected by the click /// public ToolStripPanel ToolStripPanel { get { return toolStripPanel; } } public bool Handled { get { return handled; } set { handled = value; } } } } // 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
- Base64Encoder.cs
- CreateRefExpr.cs
- Random.cs
- TypeUtil.cs
- InstanceNormalEvent.cs
- DesignerHelpers.cs
- SQLDecimalStorage.cs
- DbConnectionHelper.cs
- D3DImage.cs
- XmlText.cs
- SqlError.cs
- DbConnectionPoolCounters.cs
- EmbeddedMailObject.cs
- Icon.cs
- DetailsView.cs
- DataTemplateKey.cs
- DefinitionUpdate.cs
- MorphHelper.cs
- CngAlgorithm.cs
- XPathSingletonIterator.cs
- VirtualizingStackPanel.cs
- DbgCompiler.cs
- GenerateScriptTypeAttribute.cs
- WebPartRestoreVerb.cs
- RectIndependentAnimationStorage.cs
- List.cs
- LabelDesigner.cs
- InvalidWMPVersionException.cs
- ContainerParagraph.cs
- DbConvert.cs
- HtmlPhoneCallAdapter.cs
- MetadataArtifactLoaderCompositeFile.cs
- X509SecurityToken.cs
- QilNode.cs
- DesignRelationCollection.cs
- KeyPullup.cs
- CacheMemory.cs
- ChooseAction.cs
- EntityDataSourceStatementEditorForm.cs
- SourceLineInfo.cs
- DataSourceHelper.cs
- LoginCancelEventArgs.cs
- _NestedMultipleAsyncResult.cs
- HwndSourceParameters.cs
- ClassHandlersStore.cs
- DataObjectPastingEventArgs.cs
- ModelItemDictionaryImpl.cs
- DoubleSumAggregationOperator.cs
- RoleManagerSection.cs
- ManagedIStream.cs
- TextTreeTextBlock.cs
- ComponentDispatcher.cs
- _ListenerResponseStream.cs
- WindowClosedEventArgs.cs
- DataBoundControlAdapter.cs
- TableParaClient.cs
- AmbientValueAttribute.cs
- SatelliteContractVersionAttribute.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- filewebresponse.cs
- HttpCapabilitiesSectionHandler.cs
- OutputCacheSettings.cs
- TextShapeableCharacters.cs
- SqlConnectionString.cs
- NetPeerTcpBinding.cs
- StreamUpdate.cs
- TypeUtil.cs
- RequestQueryParser.cs
- AnnotationStore.cs
- QuotedStringFormatReader.cs
- dsa.cs
- EntryPointNotFoundException.cs
- WebPartDisplayModeCollection.cs
- IApplicationTrustManager.cs
- AspNetSynchronizationContext.cs
- MetadataPropertyAttribute.cs
- ListViewContainer.cs
- AnnotationResource.cs
- ProfileManager.cs
- AccessibilityHelperForXpWin2k3.cs
- StandardCommands.cs
- SyntaxCheck.cs
- CssClassPropertyAttribute.cs
- SrgsGrammarCompiler.cs
- DbProviderSpecificTypePropertyAttribute.cs
- PageCatalogPart.cs
- JsonStringDataContract.cs
- ValueOfAction.cs
- MimeTypeAttribute.cs
- TypeSchema.cs
- SymLanguageVendor.cs
- Popup.cs
- SmtpCommands.cs
- BlurBitmapEffect.cs
- SimpleRecyclingCache.cs
- ConnectionManagementElementCollection.cs
- SqlRetyper.cs
- NameValueCollection.cs
- RuleSettingsCollection.cs
- shaperfactoryquerycacheentry.cs