Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlDataSourceCustomCommandEditor.cs
- InvariantComparer.cs
- Track.cs
- DefaultProxySection.cs
- StyleBamlRecordReader.cs
- WebPartZone.cs
- LinkClickEvent.cs
- SmtpNetworkElement.cs
- XmlSchemaSimpleType.cs
- TableLayoutColumnStyleCollection.cs
- IPGlobalProperties.cs
- SecurityTokenReferenceStyle.cs
- SizeAnimation.cs
- AsyncOperation.cs
- _ProxyChain.cs
- DataServiceHostWrapper.cs
- FormsAuthenticationUser.cs
- OdbcEnvironmentHandle.cs
- Baml2006KnownTypes.cs
- XamlLoadErrorInfo.cs
- RawStylusInputCustomDataList.cs
- FixedElement.cs
- MemoryMappedViewAccessor.cs
- RecommendedAsConfigurableAttribute.cs
- FolderBrowserDialog.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- TransformerTypeCollection.cs
- PatternMatcher.cs
- Parameter.cs
- PlacementWorkspace.cs
- ZoneLinkButton.cs
- _OverlappedAsyncResult.cs
- EntityEntry.cs
- AccessorTable.cs
- HTTPRemotingHandler.cs
- SignatureDescription.cs
- NativeRecognizer.cs
- WebPartConnectVerb.cs
- FilteredAttributeCollection.cs
- CursorConverter.cs
- OdbcParameter.cs
- BStrWrapper.cs
- StorageComplexPropertyMapping.cs
- CategoryEditor.cs
- TableColumn.cs
- RichTextBoxAutomationPeer.cs
- PropertyCollection.cs
- XmlConvert.cs
- HitTestDrawingContextWalker.cs
- ConfigXmlAttribute.cs
- TableTextElementCollectionInternal.cs
- IPPacketInformation.cs
- GeneralTransformGroup.cs
- XMLUtil.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- BaseDataBoundControl.cs
- AvTraceFormat.cs
- PeerPresenceInfo.cs
- ExcCanonicalXml.cs
- DurableTimerExtension.cs
- ContentTypeSettingClientMessageFormatter.cs
- PromptEventArgs.cs
- ContextMenuStrip.cs
- BindingGraph.cs
- SafeProcessHandle.cs
- WindowsNonControl.cs
- UnsafeNativeMethods.cs
- SQLRoleProvider.cs
- InfoCard.cs
- ISFTagAndGuidCache.cs
- MissingMethodException.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SqlConnectionStringBuilder.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- CodeDOMUtility.cs
- CompatibleComparer.cs
- ListMarkerLine.cs
- OptionUsage.cs
- Viewport3DVisual.cs
- TimeSpanFormat.cs
- LongValidator.cs
- Splitter.cs
- Hex.cs
- XmlSchemaCompilationSettings.cs
- ZipIOFileItemStream.cs
- SafeProcessHandle.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- SafeTokenHandle.cs
- StructuredType.cs
- GeometryCombineModeValidation.cs
- BitmapEffect.cs
- HttpCookieCollection.cs
- FileStream.cs
- ExternalException.cs
- FocusWithinProperty.cs
- ErrorLog.cs
- QueryCacheManager.cs
- TextServicesCompartmentEventSink.cs
- InputLanguageEventArgs.cs
- PointConverter.cs