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
- ReversePositionQuery.cs
- CompiledScopeCriteria.cs
- SemanticTag.cs
- COM2IPerPropertyBrowsingHandler.cs
- PersonalizationStateInfoCollection.cs
- StringUtil.cs
- CharEntityEncoderFallback.cs
- ScalarOps.cs
- SecurityDocument.cs
- DataGridViewImageColumn.cs
- Clock.cs
- DoubleIndependentAnimationStorage.cs
- CheckedPointers.cs
- CachedRequestParams.cs
- UInt64Storage.cs
- EndEvent.cs
- IpcServerChannel.cs
- DuplicateWaitObjectException.cs
- _NestedSingleAsyncResult.cs
- TextPenaltyModule.cs
- GrammarBuilderDictation.cs
- XmlSchemaElement.cs
- WebConfigurationFileMap.cs
- SqlDataSourceCache.cs
- HtmlFormWrapper.cs
- SafeNativeMethods.cs
- CodeDomSerializerException.cs
- DataGridViewImageColumn.cs
- BorderGapMaskConverter.cs
- RoleManagerModule.cs
- SessionStateUtil.cs
- SiteOfOriginPart.cs
- TemplateControlBuildProvider.cs
- FileIOPermission.cs
- Hash.cs
- TemplateInstanceAttribute.cs
- ThemeDictionaryExtension.cs
- RegisteredArrayDeclaration.cs
- LoginView.cs
- PipelineModuleStepContainer.cs
- StrokeFIndices.cs
- HtmlElement.cs
- ImageDrawing.cs
- AnyReturnReader.cs
- Type.cs
- StrokeCollection.cs
- UrlMappingCollection.cs
- ComplexTypeEmitter.cs
- URL.cs
- SettingsContext.cs
- SqlCharStream.cs
- ExecutedRoutedEventArgs.cs
- HttpCookie.cs
- WebPartUtil.cs
- TreeSet.cs
- WpfKnownType.cs
- NumericUpDown.cs
- GregorianCalendar.cs
- Operator.cs
- Dump.cs
- ConditionalBranch.cs
- RemoteCryptoRsaServiceProvider.cs
- UriParserTemplates.cs
- Registry.cs
- ListManagerBindingsCollection.cs
- ProxyWebPartManager.cs
- QueryOutputWriter.cs
- GridItemProviderWrapper.cs
- DiscoveryRequestHandler.cs
- DataBindingCollectionConverter.cs
- ObjectSerializerFactory.cs
- SqlConnectionHelper.cs
- NumberFormatInfo.cs
- CharEntityEncoderFallback.cs
- translator.cs
- InputScope.cs
- TreeViewImageIndexConverter.cs
- CodeIdentifier.cs
- X509UI.cs
- DocumentViewerBase.cs
- HtmlInputText.cs
- RoutedEventValueSerializer.cs
- RadialGradientBrush.cs
- SRef.cs
- UTF7Encoding.cs
- Constants.cs
- ACE.cs
- HandlerFactoryCache.cs
- TraceContext.cs
- NetTcpSecurityElement.cs
- SecurityDescriptor.cs
- HideDisabledControlAdapter.cs
- FilterElement.cs
- KeyInfo.cs
- HtmlInputImage.cs
- ScriptResourceInfo.cs
- HttpListenerPrefixCollection.cs
- EraserBehavior.cs
- LOSFormatter.cs
- RegexRunner.cs