Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- CollectionTypeElement.cs
- CodeLinePragma.cs
- SmtpCommands.cs
- PersonalizableTypeEntry.cs
- XamlPointCollectionSerializer.cs
- FlowLayoutSettings.cs
- SessionEndedEventArgs.cs
- DrawingAttributeSerializer.cs
- DbConnectionPoolGroup.cs
- MsmqHostedTransportConfiguration.cs
- Token.cs
- ComponentChangedEvent.cs
- NullableDoubleMinMaxAggregationOperator.cs
- XmlAutoDetectWriter.cs
- Exceptions.cs
- ToolBarOverflowPanel.cs
- RemoteWebConfigurationHost.cs
- HTMLTextWriter.cs
- CacheDependency.cs
- PolyQuadraticBezierSegment.cs
- StringBuilder.cs
- DataKeyCollection.cs
- ReflectionTypeLoadException.cs
- MetadataHelper.cs
- RubberbandSelector.cs
- DataGridComboBoxColumn.cs
- TreeNodeStyle.cs
- COM2Properties.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- HasCopySemanticsAttribute.cs
- OracleBFile.cs
- DBConcurrencyException.cs
- Label.cs
- ParallelTimeline.cs
- WindowsScroll.cs
- CharacterString.cs
- DataGridViewAccessibleObject.cs
- HwndStylusInputProvider.cs
- QuotedPrintableStream.cs
- CodeTypeParameter.cs
- CaseCqlBlock.cs
- DataContractSerializer.cs
- AsymmetricKeyExchangeDeformatter.cs
- BamlLocalizableResourceKey.cs
- DoubleKeyFrameCollection.cs
- RuleRefElement.cs
- InfiniteIntConverter.cs
- X509RecipientCertificateServiceElement.cs
- AuthenticatedStream.cs
- Currency.cs
- EntityProviderServices.cs
- MultiAsyncResult.cs
- UnitySerializationHolder.cs
- FontFamily.cs
- InputLanguage.cs
- ByteAnimationBase.cs
- SqlColumnizer.cs
- CorrelationQueryBehavior.cs
- WCFBuildProvider.cs
- ExpressionPrefixAttribute.cs
- SqlCommandSet.cs
- RelationshipNavigation.cs
- PreviewPageInfo.cs
- StylusPointPropertyInfoDefaults.cs
- NetworkInformationPermission.cs
- SmtpDigestAuthenticationModule.cs
- SqlBulkCopy.cs
- ToolStripItemDataObject.cs
- FixedPageAutomationPeer.cs
- XmlSigningNodeWriter.cs
- TypeDelegator.cs
- SparseMemoryStream.cs
- RelationshipEndMember.cs
- DataObjectFieldAttribute.cs
- BinaryNode.cs
- ParallelTimeline.cs
- followingquery.cs
- MethodToken.cs
- Ports.cs
- TextEditorMouse.cs
- NetWebProxyFinder.cs
- QueryContinueDragEvent.cs
- PrefixHandle.cs
- XamlStream.cs
- HttpWriter.cs
- PathSegment.cs
- DateTimeFormat.cs
- DesignerFrame.cs
- DeferredSelectedIndexReference.cs
- ResolveCriteria.cs
- FormViewRow.cs
- BackoffTimeoutHelper.cs
- XmlUtil.cs
- PeerNearMe.cs
- QueryContinueDragEvent.cs
- SiteMapPath.cs
- SerializationHelper.cs
- UriSectionData.cs
- ListBindableAttribute.cs
- MetadataArtifactLoaderCompositeFile.cs