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
- FramingEncoders.cs
- LabelAutomationPeer.cs
- KeyFrames.cs
- RayMeshGeometry3DHitTestResult.cs
- TemplateParser.cs
- RightsManagementInformation.cs
- NotifyCollectionChangedEventArgs.cs
- AmbientLight.cs
- RangeValidator.cs
- ListMarkerLine.cs
- CustomExpression.cs
- LoggedException.cs
- UriTemplateCompoundPathSegment.cs
- DES.cs
- WorkflowServiceBehavior.cs
- TextEditorLists.cs
- VirtualizingStackPanel.cs
- RegexCompilationInfo.cs
- ToolZoneDesigner.cs
- RtfToXamlReader.cs
- WebServiceFault.cs
- AuthenticationException.cs
- BridgeDataRecord.cs
- DefaultParameterValueAttribute.cs
- BigInt.cs
- SoapEnumAttribute.cs
- DataGridLinkButton.cs
- GroupDescription.cs
- ServerTooBusyException.cs
- bidPrivateBase.cs
- mediaeventshelper.cs
- ToolStripLocationCancelEventArgs.cs
- XmlNodeList.cs
- IChannel.cs
- SequenceDesigner.cs
- OdbcErrorCollection.cs
- ProcessModule.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- UpdatePanelControlTrigger.cs
- XmlAnyElementAttribute.cs
- MappingModelBuildProvider.cs
- DataContractSerializer.cs
- DynamicDataResources.Designer.cs
- TaskFileService.cs
- XPathChildIterator.cs
- Mappings.cs
- LineProperties.cs
- FlowStep.cs
- ListViewTableCell.cs
- ToolStripGrip.cs
- VirtualizedCellInfoCollection.cs
- ConfigurationElementProperty.cs
- NetworkInterface.cs
- ExtentCqlBlock.cs
- SoapEnumAttribute.cs
- PropertyValidationContext.cs
- PixelFormatConverter.cs
- MethodBody.cs
- TemplateLookupAction.cs
- HttpHostedTransportConfiguration.cs
- PropertyManager.cs
- RectangleGeometry.cs
- GlobalItem.cs
- CompareValidator.cs
- XmlSchemaImport.cs
- PropertyPathWorker.cs
- Formatter.cs
- CreateUserWizard.cs
- Part.cs
- SynthesizerStateChangedEventArgs.cs
- MetricEntry.cs
- DataGridViewCellCollection.cs
- ListViewItemMouseHoverEvent.cs
- FacetChecker.cs
- WebPartConnectionsConfigureVerb.cs
- UnauthorizedWebPart.cs
- ApplicationServicesHostFactory.cs
- Parsers.cs
- EdmComplexTypeAttribute.cs
- DetailsViewDesigner.cs
- CommonObjectSecurity.cs
- ProgressBar.cs
- Condition.cs
- EventProviderBase.cs
- PublisherIdentityPermission.cs
- TypeDescriptor.cs
- FixUpCollection.cs
- ClockGroup.cs
- HtmlInputCheckBox.cs
- TextTrailingWordEllipsis.cs
- Parallel.cs
- X509CertificateInitiatorClientCredential.cs
- QueryContinueDragEvent.cs
- XmlLoader.cs
- EncoderNLS.cs
- tooltip.cs
- ipaddressinformationcollection.cs
- Label.cs
- DataTableReaderListener.cs
- DataTableReader.cs