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
- AnnotationAdorner.cs
- UserNamePasswordClientCredential.cs
- HttpClientCertificate.cs
- LinkLabel.cs
- QilValidationVisitor.cs
- BypassElement.cs
- HyperLinkStyle.cs
- EntityUtil.cs
- PageRanges.cs
- ValuePattern.cs
- Converter.cs
- ThreadStaticAttribute.cs
- StdValidatorsAndConverters.cs
- CFStream.cs
- Line.cs
- DocumentScope.cs
- SerializationInfo.cs
- BigInt.cs
- FormDocumentDesigner.cs
- CodeDirectiveCollection.cs
- MatrixStack.cs
- EntryPointNotFoundException.cs
- WizardPanel.cs
- SamlAttributeStatement.cs
- WindowsBrush.cs
- ProtocolViolationException.cs
- LinearGradientBrush.cs
- SemanticBasicElement.cs
- PackageDigitalSignatureManager.cs
- TdsParser.cs
- SqlUdtInfo.cs
- WebPartCloseVerb.cs
- ZipIOExtraFieldElement.cs
- SpanIndex.cs
- TextPointer.cs
- ListMarkerLine.cs
- TemplateControlCodeDomTreeGenerator.cs
- GraphicsState.cs
- StringDictionary.cs
- LambdaCompiler.ControlFlow.cs
- FindCompletedEventArgs.cs
- arclist.cs
- MailBnfHelper.cs
- DataGridViewCheckBoxCell.cs
- Literal.cs
- CredentialCache.cs
- StringStorage.cs
- TimeSpan.cs
- InstanceDescriptor.cs
- MouseGesture.cs
- UIPermission.cs
- AsyncResult.cs
- DiscoveryMessageSequence11.cs
- Parser.cs
- XmlCharType.cs
- PrimitiveXmlSerializers.cs
- WebPartsSection.cs
- Table.cs
- WbemProvider.cs
- ComUdtElementCollection.cs
- ApplicationActivator.cs
- Visual3DCollection.cs
- XPathDocument.cs
- ResourceCodeDomSerializer.cs
- ColumnMapProcessor.cs
- ExpressionConverter.cs
- CorrelationValidator.cs
- CodeMethodReturnStatement.cs
- FtpWebResponse.cs
- TreeViewHitTestInfo.cs
- PropertyAccessVisitor.cs
- Rijndael.cs
- Literal.cs
- OdbcEnvironment.cs
- IteratorDescriptor.cs
- GACIdentityPermission.cs
- KeyEvent.cs
- BaseCodeDomTreeGenerator.cs
- AutoFocusStyle.xaml.cs
- WinFormsSecurity.cs
- EdmEntityTypeAttribute.cs
- PagePropertiesChangingEventArgs.cs
- XmlElementCollection.cs
- ColumnCollection.cs
- HttpWebRequest.cs
- ExpressionConverter.cs
- DataListGeneralPage.cs
- PopupControlService.cs
- Filter.cs
- LinearGradientBrush.cs
- Wildcard.cs
- CqlErrorHelper.cs
- OperatingSystem.cs
- AutomationPropertyChangedEventArgs.cs
- FormsAuthenticationConfiguration.cs
- ToolBar.cs
- OrderedDictionary.cs
- COM2Properties.cs
- HierarchicalDataSourceControl.cs