Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- VersionedStreamOwner.cs
- SqlUtil.cs
- Underline.cs
- KeysConverter.cs
- InvalidPropValue.cs
- SecurityManager.cs
- DataControlButton.cs
- ResourceReferenceExpression.cs
- WebPartPersonalization.cs
- InternalsVisibleToAttribute.cs
- UiaCoreTypesApi.cs
- SynchronizedDispatch.cs
- NavigatingCancelEventArgs.cs
- ArgumentOutOfRangeException.cs
- SystemIPInterfaceProperties.cs
- ReadOnlyAttribute.cs
- CodeGen.cs
- ModelUtilities.cs
- CodeGen.cs
- DataGridViewComboBoxColumn.cs
- PassportAuthentication.cs
- RectConverter.cs
- DataGridCommandEventArgs.cs
- HtmlSelect.cs
- MetabaseServerConfig.cs
- XmlSchemaExternal.cs
- ImageListUtils.cs
- TransformConverter.cs
- SchemaImporterExtension.cs
- HttpBrowserCapabilitiesWrapper.cs
- MetafileHeaderWmf.cs
- PathSegmentCollection.cs
- MsmqIntegrationMessageProperty.cs
- StorageTypeMapping.cs
- HashCodeCombiner.cs
- BehaviorEditorPart.cs
- Properties.cs
- HtmlInputPassword.cs
- TreeViewHitTestInfo.cs
- entityreference_tresulttype.cs
- ImageCreator.cs
- InvalidOleVariantTypeException.cs
- ItemCollection.cs
- StickyNoteAnnotations.cs
- ToolStripGripRenderEventArgs.cs
- ACE.cs
- UnsafeNativeMethods.cs
- HttpCacheVaryByContentEncodings.cs
- TextRange.cs
- RootAction.cs
- DataGridDetailsPresenterAutomationPeer.cs
- SwitchAttribute.cs
- Process.cs
- Rotation3D.cs
- EpmSyndicationContentSerializer.cs
- WebPartEditVerb.cs
- XmlChoiceIdentifierAttribute.cs
- Translator.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BridgeDataReader.cs
- ComponentDispatcher.cs
- HtmlElementCollection.cs
- RegionData.cs
- NavigationService.cs
- MatrixCamera.cs
- BindingEntityInfo.cs
- XappLauncher.cs
- PingOptions.cs
- RequestQueryProcessor.cs
- DbProviderFactory.cs
- XmlNotation.cs
- PointConverter.cs
- Panel.cs
- Blend.cs
- EdmEntityTypeAttribute.cs
- CqlLexerHelpers.cs
- UnescapedXmlDiagnosticData.cs
- SQLDouble.cs
- DynamicDataRoute.cs
- LostFocusEventManager.cs
- SecurityUniqueId.cs
- ParentUndoUnit.cs
- IImplicitResourceProvider.cs
- _StreamFramer.cs
- odbcmetadatacollectionnames.cs
- ContextDataSourceContextData.cs
- UnhandledExceptionEventArgs.cs
- Model3D.cs
- SizeAnimation.cs
- StringAttributeCollection.cs
- QueryNode.cs
- BitmapEffectInputConnector.cs
- ContextStaticAttribute.cs
- DuplicateMessageDetector.cs
- ConnectionsZoneAutoFormat.cs
- BindingOperations.cs
- CompilationRelaxations.cs
- BufferBuilder.cs
- FormView.cs
- ConvertTextFrag.cs