Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DifferencingCollection.cs
- BooleanSwitch.cs
- ChildChangedEventArgs.cs
- JournalEntry.cs
- ChildrenQuery.cs
- MediaTimeline.cs
- DesignerActionVerbList.cs
- AliasGenerator.cs
- CssTextWriter.cs
- EndEvent.cs
- CodeDelegateInvokeExpression.cs
- Parameter.cs
- Trustee.cs
- TextServicesDisplayAttribute.cs
- WorkflowServiceAttributes.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- GridViewItemAutomationPeer.cs
- RequestFactory.cs
- validation.cs
- SettingsBindableAttribute.cs
- DataGridViewUtilities.cs
- LocalizeDesigner.cs
- CodeAttachEventStatement.cs
- basemetadatamappingvisitor.cs
- XmlAttributeOverrides.cs
- DispatchWrapper.cs
- VectorAnimationUsingKeyFrames.cs
- CodeSubDirectory.cs
- ServiceOperationParameter.cs
- SystemInformation.cs
- NamespaceTable.cs
- ToolConsole.cs
- ListViewInsertedEventArgs.cs
- GridViewSelectEventArgs.cs
- _UncName.cs
- WebPartConnectionsEventArgs.cs
- UpDownEvent.cs
- Base64Stream.cs
- CompositeActivityValidator.cs
- PermissionAttributes.cs
- OptimalBreakSession.cs
- UiaCoreApi.cs
- LinqDataSourceDeleteEventArgs.cs
- SqlCacheDependency.cs
- XmlSchemaComplexContentRestriction.cs
- SystemGatewayIPAddressInformation.cs
- DataGridPagerStyle.cs
- StructuralType.cs
- SqlOuterApplyReducer.cs
- ObjectDataSource.cs
- TagPrefixAttribute.cs
- Version.cs
- DescendentsWalkerBase.cs
- OdbcConnectionHandle.cs
- HttpWebRequest.cs
- HelpInfo.cs
- SessionPageStatePersister.cs
- XmlDocumentSerializer.cs
- AttributeProviderAttribute.cs
- DataContractSerializerSection.cs
- ModelTreeEnumerator.cs
- DynamicDocumentPaginator.cs
- ResolveNameEventArgs.cs
- ProxyManager.cs
- PrintEvent.cs
- MultiPageTextView.cs
- ListView.cs
- ScriptControl.cs
- DbModificationCommandTree.cs
- SmiEventSink_Default.cs
- FormViewDeletedEventArgs.cs
- StrongNamePublicKeyBlob.cs
- SchemaMapping.cs
- UserControlCodeDomTreeGenerator.cs
- ThreadExceptionEvent.cs
- EventSetter.cs
- PropagatorResult.cs
- ObjRef.cs
- AnnotationAuthorChangedEventArgs.cs
- ExtensionFile.cs
- PropertyAccessVisitor.cs
- ExpandoObject.cs
- ExpressionBuilderContext.cs
- ClientUrlResolverWrapper.cs
- QueryableFilterUserControl.cs
- EntityClientCacheKey.cs
- XmlTextReaderImpl.cs
- Panel.cs
- ObjectRef.cs
- TextServicesCompartment.cs
- Int64Animation.cs
- ClientCredentialsSecurityTokenManager.cs
- Drawing.cs
- QueryParameter.cs
- RelationshipSet.cs
- ChainOfDependencies.cs
- Point3DAnimationBase.cs
- PropertyNames.cs
- FixedPageProcessor.cs
- Decorator.cs