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
- GridViewItemAutomationPeer.cs
- SqlNotificationEventArgs.cs
- Identifier.cs
- MaterialGroup.cs
- ProgressPage.cs
- ObjRef.cs
- ComponentCommands.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- Int32RectConverter.cs
- ToggleButtonAutomationPeer.cs
- TextChange.cs
- MessageBox.cs
- Condition.cs
- ImageSourceValueSerializer.cs
- WindowsStartMenu.cs
- EdgeProfileValidation.cs
- ConfigXmlComment.cs
- ExclusiveTcpListener.cs
- RequestResizeEvent.cs
- IOException.cs
- BitmapEffectDrawingContextState.cs
- MaskedTextBoxTextEditorDropDown.cs
- DesignerToolboxInfo.cs
- DataSourceCache.cs
- AnnotationResourceChangedEventArgs.cs
- TraceSource.cs
- IdleTimeoutMonitor.cs
- RoutedUICommand.cs
- VSDExceptions.cs
- SafeCryptoHandles.cs
- CqlParserHelpers.cs
- XmlSchemaComplexType.cs
- HtmlLabelAdapter.cs
- XPathPatternParser.cs
- ShaderRenderModeValidation.cs
- BehaviorEditorPart.cs
- ConfigXmlSignificantWhitespace.cs
- TreeNodeEventArgs.cs
- DataControlReferenceCollection.cs
- ImageField.cs
- XmlIncludeAttribute.cs
- TrackingDataItemValue.cs
- WebBrowserPermission.cs
- NotFiniteNumberException.cs
- DbParameterCollection.cs
- BCryptNative.cs
- StringInfo.cs
- ActivityExecutionFilter.cs
- HGlobalSafeHandle.cs
- VectorCollection.cs
- UIServiceHelper.cs
- NetStream.cs
- ApplicationInfo.cs
- ZipPackage.cs
- EnterpriseServicesHelper.cs
- FontCollection.cs
- SoapHeaderAttribute.cs
- BackEase.cs
- PassportIdentity.cs
- LinkedResource.cs
- DisplayNameAttribute.cs
- FloaterParagraph.cs
- SocketCache.cs
- XmlnsPrefixAttribute.cs
- FreezableCollection.cs
- PrintDialog.cs
- GlobalizationSection.cs
- HostedElements.cs
- SvcFileManager.cs
- ServiceOperationViewControl.cs
- Int16.cs
- AssociationSet.cs
- DesignerUtility.cs
- ProfileSection.cs
- TcpClientChannel.cs
- Transform3DGroup.cs
- ConnectionStringsExpressionBuilder.cs
- WsdlExporter.cs
- WindowsComboBox.cs
- ReadOnlyObservableCollection.cs
- ParseHttpDate.cs
- DynamicPropertyHolder.cs
- WeakEventManager.cs
- XmlTypeAttribute.cs
- DataGridGeneralPage.cs
- XmlElementAttribute.cs
- CodeVariableDeclarationStatement.cs
- ArgumentElement.cs
- RawStylusInputCustomDataList.cs
- ProjectedWrapper.cs
- BitmapData.cs
- IndentTextWriter.cs
- CharEnumerator.cs
- BitmapDownload.cs
- ToolbarAUtomationPeer.cs
- UserPersonalizationStateInfo.cs
- XPathNode.cs
- DSASignatureDeformatter.cs
- SamlSubjectStatement.cs
- OleDbFactory.cs