Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ExtendedProtectionPolicyTypeConverter.cs
- AnnotationResourceChangedEventArgs.cs
- TextInfo.cs
- LinearKeyFrames.cs
- ObjectHandle.cs
- SamlAuthenticationClaimResource.cs
- InputScopeManager.cs
- SynchronizingStream.cs
- SurrogateEncoder.cs
- AbstractDataSvcMapFileLoader.cs
- MemberHolder.cs
- EventLogInformation.cs
- FrameworkTemplate.cs
- XmlHierarchicalDataSourceView.cs
- ComplexBindingPropertiesAttribute.cs
- GridView.cs
- MetadataAssemblyHelper.cs
- HtmlTernaryTree.cs
- DataExpression.cs
- SmtpTransport.cs
- QueryTaskGroupState.cs
- ScrollProperties.cs
- RangeContentEnumerator.cs
- XPathException.cs
- CompressionTransform.cs
- HtmlInputImage.cs
- SystemFonts.cs
- X509ChainPolicy.cs
- ZoneButton.cs
- FileClassifier.cs
- WebReferencesBuildProvider.cs
- DataPagerFieldCollection.cs
- SafeHandles.cs
- HttpServerVarsCollection.cs
- RegisteredArrayDeclaration.cs
- PropertyMap.cs
- AssemblyName.cs
- Int32Rect.cs
- HtmlHead.cs
- PartBasedPackageProperties.cs
- DataGridViewColumnEventArgs.cs
- X509CertificateTrustedIssuerElementCollection.cs
- FieldTemplateUserControl.cs
- ImportException.cs
- CompilerWrapper.cs
- ModuleConfigurationInfo.cs
- SchemaDeclBase.cs
- Internal.cs
- Rijndael.cs
- MonthCalendarDesigner.cs
- ResourcesBuildProvider.cs
- PkcsUtils.cs
- ApplicationFileParser.cs
- MonthCalendar.cs
- HierarchicalDataSourceControl.cs
- ProtocolsSection.cs
- MenuItemCollection.cs
- DocumentPaginator.cs
- TwoPhaseCommitProxy.cs
- TemplatePartAttribute.cs
- PolygonHotSpot.cs
- DetailsViewRow.cs
- PlatformCulture.cs
- FusionWrap.cs
- CombinedGeometry.cs
- HttpPostProtocolReflector.cs
- WebHeaderCollection.cs
- StorageAssociationSetMapping.cs
- Zone.cs
- DefaultValueTypeConverter.cs
- NotCondition.cs
- RecognizedAudio.cs
- TransformerInfoCollection.cs
- EntityDataSourceMemberPath.cs
- ISFTagAndGuidCache.cs
- Aes.cs
- ProcessHost.cs
- AnnotationComponentChooser.cs
- SelectionUIService.cs
- HttpApplication.cs
- XmlSchemaGroup.cs
- TableCell.cs
- DoubleStorage.cs
- ConfigurationLocation.cs
- XmlSerializerSection.cs
- _NetworkingPerfCounters.cs
- XmlChildEnumerator.cs
- ListViewDeletedEventArgs.cs
- PersonalizableAttribute.cs
- PointAnimationClockResource.cs
- Config.cs
- SqlConnectionPoolProviderInfo.cs
- ValidationErrorEventArgs.cs
- Parser.cs
- XmlSchemaComplexType.cs
- ImmutableObjectAttribute.cs
- EntityConnection.cs
- LogSwitch.cs
- StringUtil.cs
- DesignerActionUIStateChangeEventArgs.cs