Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripPanelRenderEventArgs.cs / 1 / 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. //------------------------------------------------------------------------------ //// 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
- ExpressionCopier.cs
- ResourceDictionary.cs
- SmiEventStream.cs
- TraceHandlerErrorFormatter.cs
- TraceLog.cs
- DataPagerFieldItem.cs
- WebPartDisplayModeCollection.cs
- RtType.cs
- ClientRoleProvider.cs
- XmlElementCollection.cs
- FontFamilyConverter.cs
- TableAutomationPeer.cs
- ping.cs
- DataSourceConverter.cs
- CollectionConverter.cs
- WebPartZone.cs
- ImageEditor.cs
- Sql8ConformanceChecker.cs
- SqlWebEventProvider.cs
- DrawListViewItemEventArgs.cs
- LinkClickEvent.cs
- SizeAnimationUsingKeyFrames.cs
- Int32.cs
- WebPartDisplayMode.cs
- CodeExpressionCollection.cs
- ObjectDataSourceMethodEventArgs.cs
- PeerHopCountAttribute.cs
- DockPanel.cs
- Helpers.cs
- ProfileEventArgs.cs
- SemanticResultValue.cs
- GPPOINTF.cs
- ContentFilePart.cs
- PackWebRequest.cs
- ValidatorCollection.cs
- ScrollData.cs
- SessionPageStatePersister.cs
- PassportAuthenticationModule.cs
- XPathDocumentIterator.cs
- Converter.cs
- ReachPrintTicketSerializer.cs
- Column.cs
- WeakRefEnumerator.cs
- CqlLexerHelpers.cs
- BulletedListEventArgs.cs
- EnumMember.cs
- SignedXml.cs
- LinearGradientBrush.cs
- SqlDataSourceCustomCommandEditor.cs
- CompilationUtil.cs
- ComboBoxRenderer.cs
- RuntimeEnvironment.cs
- DtdParser.cs
- PropertyDescriptorGridEntry.cs
- CustomAttributeBuilder.cs
- TableParagraph.cs
- IUnknownConstantAttribute.cs
- MetadataSerializer.cs
- EditorPartChrome.cs
- DebuggerService.cs
- ExpressionBinding.cs
- EventLogPermissionHolder.cs
- EntityDataSourceDesignerHelper.cs
- ContentPosition.cs
- ClonableStack.cs
- MemoryMappedViewStream.cs
- TextBoxBase.cs
- ContractTypeNameCollection.cs
- SystemIPv4InterfaceProperties.cs
- InputBinder.cs
- Menu.cs
- ConfigXmlDocument.cs
- CipherData.cs
- ISCIIEncoding.cs
- SuppressMessageAttribute.cs
- XmlSchemaParticle.cs
- Debug.cs
- PropertyNames.cs
- DynamicUpdateCommand.cs
- Rotation3D.cs
- Empty.cs
- ErrorHandler.cs
- RightsManagementSuppressedStream.cs
- XmlSchemaInferenceException.cs
- RSAOAEPKeyExchangeFormatter.cs
- ContractUtils.cs
- LocalizationComments.cs
- ParallelTimeline.cs
- RegistryKey.cs
- GradientStopCollection.cs
- ListBase.cs
- EDesignUtil.cs
- HtmlLink.cs
- EdmItemCollection.OcAssemblyCache.cs
- EntityContainerEmitter.cs
- BodyGlyph.cs
- XPathParser.cs
- ValidationSummary.cs
- RequiredFieldValidator.cs
- XmlNamespaceDeclarationsAttribute.cs