Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebBaseEventKeyComparer.cs
- StorageMappingFragment.cs
- HMACSHA256.cs
- BigInt.cs
- DependencyProperty.cs
- PointAnimationBase.cs
- ViewCellRelation.cs
- QueryGenerator.cs
- TraceSource.cs
- XpsS0ValidatingLoader.cs
- hresults.cs
- TypeDescriptor.cs
- ToolboxComponentsCreatingEventArgs.cs
- MatrixKeyFrameCollection.cs
- WebEncodingValidatorAttribute.cs
- BitmapCodecInfo.cs
- ExpressionConverter.cs
- initElementDictionary.cs
- BindStream.cs
- _HeaderInfoTable.cs
- Color.cs
- Visual3D.cs
- Evidence.cs
- CapabilitiesUse.cs
- MetadataItemEmitter.cs
- RtfControlWordInfo.cs
- RTLAwareMessageBox.cs
- XmlDataLoader.cs
- RtfControlWordInfo.cs
- SelectorItemAutomationPeer.cs
- UrlAuthFailedErrorFormatter.cs
- UriSection.cs
- CodeIterationStatement.cs
- FileChangesMonitor.cs
- SiteMapNodeItemEventArgs.cs
- EFTableProvider.cs
- CompositionTarget.cs
- RTLAwareMessageBox.cs
- X509SecurityTokenAuthenticator.cs
- QueryGenerator.cs
- CompilationLock.cs
- PointAnimationBase.cs
- FontDriver.cs
- WebResourceUtil.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ObjectIDGenerator.cs
- TokenBasedSetEnumerator.cs
- DataSourceControlBuilder.cs
- StreamInfo.cs
- SettingsPropertyIsReadOnlyException.cs
- ColorContext.cs
- RecordBuilder.cs
- PingOptions.cs
- TimelineCollection.cs
- Queue.cs
- BindingCompleteEventArgs.cs
- ProcessModelSection.cs
- DataPager.cs
- StringUtil.cs
- SoapCodeExporter.cs
- RuntimeHelpers.cs
- ParallelDesigner.cs
- DeviceContexts.cs
- SqlMethodTransformer.cs
- SqlDataSourceStatusEventArgs.cs
- DesignerSerializationVisibilityAttribute.cs
- SamlAuthorityBinding.cs
- RegionIterator.cs
- WebScriptMetadataMessageEncoderFactory.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- TextTreePropertyUndoUnit.cs
- ZipArchive.cs
- SourceItem.cs
- ObjectIDGenerator.cs
- DriveInfo.cs
- Rss20ItemFormatter.cs
- HtmlEmptyTagControlBuilder.cs
- Decorator.cs
- XmlSerializerFactory.cs
- CompModSwitches.cs
- WindowsFormsSynchronizationContext.cs
- Int32KeyFrameCollection.cs
- FilteredReadOnlyMetadataCollection.cs
- MergeFailedEvent.cs
- Rect.cs
- LinkLabel.cs
- EntityParameterCollection.cs
- LineMetrics.cs
- BrowserDefinition.cs
- TextBoxAutomationPeer.cs
- StorageEntitySetMapping.cs
- RemoveFromCollection.cs
- DrawingImage.cs
- NamespaceCollection.cs
- ErrorItem.cs
- BStrWrapper.cs
- SignedPkcs7.cs
- TextRange.cs
- CategoryAttribute.cs
- ServiceModelEnumValidatorAttribute.cs