Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1 / ToolStripContentPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // 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
- DiagnosticEventProvider.cs
- SqlFunctionAttribute.cs
- DbUpdateCommandTree.cs
- SqlTypeSystemProvider.cs
- DelegateCompletionCallbackWrapper.cs
- SqlCommandSet.cs
- HostExecutionContextManager.cs
- UInt32.cs
- SqlWebEventProvider.cs
- TraceSource.cs
- PageRequestManager.cs
- SQLDouble.cs
- TreeView.cs
- RowType.cs
- AnnotationObservableCollection.cs
- MetadataWorkspace.cs
- WebPartDisplayModeEventArgs.cs
- base64Transforms.cs
- WCFServiceClientProxyGenerator.cs
- Comparer.cs
- DesignerAutoFormatStyle.cs
- StyleTypedPropertyAttribute.cs
- BaseAddressPrefixFilterElementCollection.cs
- RegionInfo.cs
- InvokePattern.cs
- ClientSettingsProvider.cs
- PackageDigitalSignature.cs
- ConnectionProviderAttribute.cs
- SafeSecurityHandles.cs
- WindowVisualStateTracker.cs
- SecurityManager.cs
- TextBox.cs
- ContextMenuService.cs
- ByteStream.cs
- PasswordRecovery.cs
- DateTimeOffset.cs
- HttpClientCertificate.cs
- Misc.cs
- XslCompiledTransform.cs
- HitTestParameters3D.cs
- PaginationProgressEventArgs.cs
- CharEnumerator.cs
- ObjectPersistData.cs
- TextInfo.cs
- NavigationPropertyEmitter.cs
- XmlMembersMapping.cs
- AssemblyBuilder.cs
- DispatchChannelSink.cs
- ZipArchive.cs
- UriTemplateTrieNode.cs
- SchemaObjectWriter.cs
- Table.cs
- SafeMILHandle.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- HtmlEmptyTagControlBuilder.cs
- GeometryModel3D.cs
- SystemColors.cs
- Pen.cs
- OdbcHandle.cs
- EntityDataSourceView.cs
- DirectoryObjectSecurity.cs
- XmlSchemaSequence.cs
- CalendarButton.cs
- SqlWorkflowPersistenceService.cs
- XmlSchemaObject.cs
- WebPartMovingEventArgs.cs
- Section.cs
- ConfigurationManagerInternal.cs
- SqlFlattener.cs
- TabPanel.cs
- ISAPIApplicationHost.cs
- StylusShape.cs
- SqlRowUpdatingEvent.cs
- BitmapImage.cs
- ResourceAssociationTypeEnd.cs
- XmlWriter.cs
- SqlFormatter.cs
- ImageEditor.cs
- DataView.cs
- InvalidOleVariantTypeException.cs
- PostBackTrigger.cs
- WindowsGraphicsCacheManager.cs
- PageContentAsyncResult.cs
- AsymmetricSignatureDeformatter.cs
- CipherData.cs
- ItemsPanelTemplate.cs
- ConnectionStringsExpressionBuilder.cs
- QilVisitor.cs
- WasHttpModulesInstallComponent.cs
- TableLayoutPanelDesigner.cs
- EventListenerClientSide.cs
- InvalidPropValue.cs
- InheritanceUI.cs
- LightweightCodeGenerator.cs
- BooleanKeyFrameCollection.cs
- FixedPosition.cs
- ButtonBase.cs
- VBIdentifierTrimConverter.cs
- Paragraph.cs
- Models.cs