Code:
/ DotNET / DotNET / 8.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
- RadioButtonList.cs
- DynamicPropertyHolder.cs
- ResourcePart.cs
- DataGridViewCellLinkedList.cs
- UnicastIPAddressInformationCollection.cs
- MissingFieldException.cs
- WebServiceBindingAttribute.cs
- TagMapInfo.cs
- ControlCollection.cs
- HtmlTernaryTree.cs
- TextSimpleMarkerProperties.cs
- ProfileModule.cs
- SamlSecurityTokenAuthenticator.cs
- WebPartConnectionCollection.cs
- QilLiteral.cs
- SqlFacetAttribute.cs
- Base64Encoding.cs
- AnimationClock.cs
- RepeatButton.cs
- XmlSerializerAssemblyAttribute.cs
- NativeMethods.cs
- DataGridViewUtilities.cs
- TextEndOfParagraph.cs
- FontUnitConverter.cs
- FileDataSourceCache.cs
- WindowsFormsSectionHandler.cs
- Privilege.cs
- recordstate.cs
- XmlSerializerVersionAttribute.cs
- TreeView.cs
- CfgRule.cs
- FamilyTypefaceCollection.cs
- IConvertible.cs
- NonParentingControl.cs
- TextPointerBase.cs
- COMException.cs
- TrackingCondition.cs
- ApplicationDirectory.cs
- ThousandthOfEmRealPoints.cs
- LoginUtil.cs
- MemberAccessException.cs
- ElementsClipboardData.cs
- DbProviderFactoriesConfigurationHandler.cs
- SystemIcmpV6Statistics.cs
- Span.cs
- NativeCppClassAttribute.cs
- ApplicationSecurityInfo.cs
- PackageDigitalSignature.cs
- SQLDoubleStorage.cs
- GenericXmlSecurityTokenAuthenticator.cs
- StateValidator.cs
- ToolStripSeparatorRenderEventArgs.cs
- SafeProcessHandle.cs
- TransactionManager.cs
- FileEnumerator.cs
- LocatorBase.cs
- CodeVariableReferenceExpression.cs
- TraceUtils.cs
- ProcessHostServerConfig.cs
- WebPartsSection.cs
- PasswordDeriveBytes.cs
- WindowsSidIdentity.cs
- MetaDataInfo.cs
- OrthographicCamera.cs
- WorkflowMessageEventHandler.cs
- COM2IPerPropertyBrowsingHandler.cs
- ImportContext.cs
- ActivityDesigner.cs
- CatalogZone.cs
- XmlNullResolver.cs
- MatrixStack.cs
- ObjectAnimationBase.cs
- FontFamily.cs
- ApplicationTrust.cs
- CallSite.cs
- TreeNodeStyleCollection.cs
- OrderPreservingPipeliningSpoolingTask.cs
- SocketCache.cs
- SingleObjectCollection.cs
- Sequence.cs
- Odbc32.cs
- TextFormatterImp.cs
- DescendantOverDescendantQuery.cs
- HtmlCalendarAdapter.cs
- ReliabilityContractAttribute.cs
- StatusBar.cs
- AuthenticationManager.cs
- ImmutableCommunicationTimeouts.cs
- WebPartCatalogCloseVerb.cs
- PageRanges.cs
- AssemblyResourceLoader.cs
- StylusDownEventArgs.cs
- DeviceContext2.cs
- WebPartDescriptionCollection.cs
- ColorInterpolationModeValidation.cs
- SignatureTargetIdManager.cs
- FreeFormDragDropManager.cs
- SharedPerformanceCounter.cs
- TaskExceptionHolder.cs
- NavigationEventArgs.cs