Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ThicknessAnimationBase.cs
- TypeDescriptor.cs
- invalidudtexception.cs
- graph.cs
- ItemList.cs
- SQLByteStorage.cs
- XsdBuilder.cs
- SelectedDatesCollection.cs
- PtsPage.cs
- ReferenceConverter.cs
- OpenTypeCommon.cs
- EmptyStringExpandableObjectConverter.cs
- ContainerParagraph.cs
- FontStretch.cs
- DataSourceXmlSerializationAttribute.cs
- AspNetPartialTrustHelpers.cs
- ShaderRenderModeValidation.cs
- CompiledRegexRunnerFactory.cs
- SystemIcmpV6Statistics.cs
- InvalidPrinterException.cs
- ToggleButtonAutomationPeer.cs
- AssociatedControlConverter.cs
- PropertyTabChangedEvent.cs
- Int16KeyFrameCollection.cs
- Intellisense.cs
- GridViewRowCollection.cs
- LockedAssemblyCache.cs
- Int32CollectionValueSerializer.cs
- StaticSiteMapProvider.cs
- SelectionRangeConverter.cs
- Annotation.cs
- BuildResult.cs
- PersonalizableTypeEntry.cs
- BindingGroup.cs
- XmlTypeMapping.cs
- RijndaelManagedTransform.cs
- EncryptedKeyIdentifierClause.cs
- DLinqTableProvider.cs
- BaseTreeIterator.cs
- VectorValueSerializer.cs
- OutputCacheModule.cs
- ListViewDeletedEventArgs.cs
- precedingsibling.cs
- ManagementQuery.cs
- DuplexChannel.cs
- CultureSpecificCharacterBufferRange.cs
- BufferedStream.cs
- DebuggerAttributes.cs
- Utils.cs
- EFAssociationProvider.cs
- StoryFragments.cs
- KnownTypeHelper.cs
- COM2PropertyPageUITypeConverter.cs
- XmlUnspecifiedAttribute.cs
- EntityContainer.cs
- DirectoryGroupQuery.cs
- TextServicesManager.cs
- HighContrastHelper.cs
- ConfigurationValue.cs
- CodeRemoveEventStatement.cs
- HttpAsyncResult.cs
- MultipleViewPattern.cs
- PasswordRecoveryDesigner.cs
- EntityDataSourceReferenceGroup.cs
- Parser.cs
- MaskInputRejectedEventArgs.cs
- ScrollChrome.cs
- TextEndOfParagraph.cs
- RadioButton.cs
- VisualProxy.cs
- PolicyValidationException.cs
- Light.cs
- AnimatedTypeHelpers.cs
- PrintPreviewDialog.cs
- SqlInternalConnectionSmi.cs
- StrokeFIndices.cs
- SchemaImporter.cs
- MailFileEditor.cs
- RegisteredExpandoAttribute.cs
- GB18030Encoding.cs
- __ComObject.cs
- PageBuildProvider.cs
- ValidationHelpers.cs
- HighlightVisual.cs
- PngBitmapDecoder.cs
- PngBitmapDecoder.cs
- XsltCompileContext.cs
- RelatedCurrencyManager.cs
- Comparer.cs
- SqlUserDefinedAggregateAttribute.cs
- CompatibleIComparer.cs
- XamlBuildTaskServices.cs
- ModuleConfigurationInfo.cs
- Base64Encoding.cs
- Brush.cs
- GiveFeedbackEvent.cs
- VisualBrush.cs
- MDIControlStrip.cs
- WebPartDescriptionCollection.cs
- ConfigurationValue.cs