Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripPanelRenderEventArgs.cs / 1 / ToolStripPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripPanelRenderEventArgs /// public class ToolStripPanelRenderEventArgs : EventArgs { private ToolStripPanel toolStripPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripPanelRenderEventArgs(Graphics g, ToolStripPanel toolStripPanel) { this.toolStripPanel = toolStripPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// Represents which toolStrip was affected by the click /// public ToolStripPanel ToolStripPanel { get { return toolStripPanel; } } public bool Handled { get { return handled; } set { handled = value; } } } } // 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
- UrlPath.cs
- TransformDescriptor.cs
- WebPartDisplayModeEventArgs.cs
- JsonXmlDataContract.cs
- TraceLevelStore.cs
- FixedPageProcessor.cs
- RemotingServices.cs
- CodeTypeReferenceCollection.cs
- ConstructorBuilder.cs
- SharedPerformanceCounter.cs
- CustomLineCap.cs
- IHttpResponseInternal.cs
- SafeCoTaskMem.cs
- Int32Converter.cs
- PartitionResolver.cs
- FrameworkEventSource.cs
- DataGridCommandEventArgs.cs
- WebPartZoneBase.cs
- InstanceData.cs
- UnauthorizedWebPart.cs
- Point3D.cs
- ServerIdentity.cs
- TypeLoader.cs
- StaticSiteMapProvider.cs
- EntityParameter.cs
- FixedDSBuilder.cs
- Int32KeyFrameCollection.cs
- RelativeSource.cs
- HyperLink.cs
- ConnectionPoint.cs
- DbConnectionPool.cs
- DataBindingExpressionBuilder.cs
- UdpTransportSettings.cs
- InternalConfigRoot.cs
- AppLevelCompilationSectionCache.cs
- HtmlTableCell.cs
- DynamicAttribute.cs
- Timer.cs
- XPathDescendantIterator.cs
- RadialGradientBrush.cs
- EntityDataSourceWizardForm.cs
- Panel.cs
- WebPartVerb.cs
- UDPClient.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- BamlLocalizationDictionary.cs
- Menu.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- GridViewRowEventArgs.cs
- DebugInfoExpression.cs
- FlowLayoutPanel.cs
- BitmapEffectGeneralTransform.cs
- HttpHandlersSection.cs
- WizardPanelChangingEventArgs.cs
- VersionPair.cs
- Soap.cs
- NavigationExpr.cs
- WindowsRegion.cs
- FullTextBreakpoint.cs
- DbQueryCommandTree.cs
- StatusBarItemAutomationPeer.cs
- HttpStreamXmlDictionaryReader.cs
- EventRoute.cs
- MessageTraceRecord.cs
- FontConverter.cs
- ReliabilityContractAttribute.cs
- COM2IDispatchConverter.cs
- EnumType.cs
- PropertyTabAttribute.cs
- Typeface.cs
- NumericUpDown.cs
- SafeMILHandle.cs
- RNGCryptoServiceProvider.cs
- Blend.cs
- ApplicationServiceManager.cs
- SemanticResultValue.cs
- EncryptedType.cs
- ToolStripTextBox.cs
- StackOverflowException.cs
- WindowsListViewGroupHelper.cs
- CodeNamespaceImportCollection.cs
- DesignerVerbCollection.cs
- ThemeableAttribute.cs
- MailHeaderInfo.cs
- ServiceRoute.cs
- _Win32.cs
- WebPartCancelEventArgs.cs
- DataGridViewCellPaintingEventArgs.cs
- Win32SafeHandles.cs
- NullableFloatMinMaxAggregationOperator.cs
- Rect.cs
- ToggleButtonAutomationPeer.cs
- TreeNodeClickEventArgs.cs
- WebServiceMethodData.cs
- DescendantQuery.cs
- XmlWriter.cs
- Debug.cs
- XsdValidatingReader.cs
- DataGridViewBand.cs
- AssemblyBuilder.cs