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
- SystemWebCachingSectionGroup.cs
- HtmlToClrEventProxy.cs
- PageRequestManager.cs
- Transform3D.cs
- ReachUIElementCollectionSerializer.cs
- EditorZoneAutoFormat.cs
- querybuilder.cs
- DESCryptoServiceProvider.cs
- Char.cs
- ColorContextHelper.cs
- MenuCommandService.cs
- GenerateTemporaryTargetAssembly.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- XslAstAnalyzer.cs
- SqlErrorCollection.cs
- AggregateNode.cs
- ContentPlaceHolderDesigner.cs
- MarshalDirectiveException.cs
- DataGridViewCellLinkedList.cs
- SqlStream.cs
- HtmlTernaryTree.cs
- AnnotationComponentManager.cs
- TiffBitmapDecoder.cs
- DashStyles.cs
- TableAdapterManagerGenerator.cs
- FamilyTypeface.cs
- _StreamFramer.cs
- TransformPatternIdentifiers.cs
- UriScheme.cs
- XamlNamespaceHelper.cs
- regiisutil.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ResourceReader.cs
- ToolStripItemTextRenderEventArgs.cs
- XmlnsPrefixAttribute.cs
- WebPartConnection.cs
- ProgressBar.cs
- DiscoveryVersionConverter.cs
- QilScopedVisitor.cs
- ADMembershipProvider.cs
- XPathDocumentIterator.cs
- PanelDesigner.cs
- XmlSecureResolver.cs
- QueryCacheEntry.cs
- EntityConnection.cs
- EntityContainerEmitter.cs
- FormatException.cs
- DataGridViewLinkColumn.cs
- XmlChildEnumerator.cs
- CodeCommentStatementCollection.cs
- PolyBezierSegment.cs
- NetDataContractSerializer.cs
- HttpDictionary.cs
- Icon.cs
- ApplicationDirectory.cs
- CultureInfoConverter.cs
- LinqDataSourceView.cs
- BrowserDefinition.cs
- SchemaTypeEmitter.cs
- ScriptReference.cs
- PersonalizationProvider.cs
- ListBox.cs
- _LocalDataStore.cs
- ClientBase.cs
- RegexReplacement.cs
- EventListenerClientSide.cs
- TabControlCancelEvent.cs
- SerializationStore.cs
- RowSpanVector.cs
- TreeNodeBinding.cs
- PointConverter.cs
- SignerInfo.cs
- DesignTimeParseData.cs
- XmlTypeAttribute.cs
- SmtpFailedRecipientException.cs
- CategoryGridEntry.cs
- Size3D.cs
- BlobPersonalizationState.cs
- ControlDesigner.cs
- SystemDropShadowChrome.cs
- GridToolTip.cs
- PersonalizationDictionary.cs
- WebConfigurationFileMap.cs
- ConvertEvent.cs
- ParserStack.cs
- PropertyGeneratedEventArgs.cs
- MULTI_QI.cs
- XmlSchemaAttributeGroupRef.cs
- DataServiceContext.cs
- CodeGotoStatement.cs
- TypeConverterMarkupExtension.cs
- HttpRawResponse.cs
- WebConfigurationManager.cs
- UserPersonalizationStateInfo.cs
- LineVisual.cs
- SHA384.cs
- InputLanguageManager.cs
- UnicastIPAddressInformationCollection.cs
- OdbcPermission.cs
- UnsafeNativeMethods.cs