Code:
/ FX-1434 / FX-1434 / 1.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
- TimersDescriptionAttribute.cs
- ReachSerializableProperties.cs
- Permission.cs
- _Win32.cs
- DataColumnMappingCollection.cs
- NumberFormatter.cs
- BuildProvidersCompiler.cs
- SoapFormatter.cs
- UserMapPath.cs
- RegistryKey.cs
- SByteStorage.cs
- GeneralEndpointIdentity.cs
- DescendentsWalker.cs
- BindingEntityInfo.cs
- X509ClientCertificateCredentialsElement.cs
- LicenseContext.cs
- FontEmbeddingManager.cs
- XmlSchemaElement.cs
- FormatSettings.cs
- OutputScopeManager.cs
- ResourceAssociationTypeEnd.cs
- DLinqDataModelProvider.cs
- FrugalList.cs
- DataTableTypeConverter.cs
- ListView.cs
- ImageAnimator.cs
- ProfileEventArgs.cs
- TimeStampChecker.cs
- WebUtil.cs
- SizeConverter.cs
- ToolStripPanelRenderEventArgs.cs
- ConcurrentQueue.cs
- FunctionNode.cs
- Cursor.cs
- IntranetCredentialPolicy.cs
- DataFormats.cs
- TextFormatterContext.cs
- VolatileEnlistmentState.cs
- LabelEditEvent.cs
- NodeLabelEditEvent.cs
- FSWPathEditor.cs
- ReadContentAsBinaryHelper.cs
- TargetInvocationException.cs
- XPathExpr.cs
- HandoffBehavior.cs
- DictionaryBase.cs
- WaitHandle.cs
- StylusPointPropertyInfoDefaults.cs
- QueryOpeningEnumerator.cs
- Stopwatch.cs
- Or.cs
- Bits.cs
- Hex.cs
- securitycriticaldata.cs
- TreeNodeBinding.cs
- PathFigureCollectionConverter.cs
- MimeXmlReflector.cs
- SafeRightsManagementPubHandle.cs
- ErrorFormatter.cs
- AsymmetricSignatureDeformatter.cs
- ReaderWriterLockWrapper.cs
- RegexParser.cs
- DataGridTextBoxColumn.cs
- SharedPersonalizationStateInfo.cs
- LambdaExpression.cs
- Send.cs
- CollectionAdapters.cs
- configsystem.cs
- TextRangeEditTables.cs
- CardSpaceSelector.cs
- URIFormatException.cs
- SchemaCollectionPreprocessor.cs
- FacetChecker.cs
- FormsAuthentication.cs
- DataRelation.cs
- ListViewInsertionMark.cs
- NullableLongAverageAggregationOperator.cs
- mediapermission.cs
- XPathParser.cs
- FormViewPageEventArgs.cs
- TextSyndicationContent.cs
- AbandonedMutexException.cs
- SecurityManager.cs
- CollectionViewGroup.cs
- GifBitmapEncoder.cs
- RawStylusActions.cs
- XmlNamespaceDeclarationsAttribute.cs
- MappingItemCollection.cs
- ByteFacetDescriptionElement.cs
- CodeVariableReferenceExpression.cs
- CharacterBuffer.cs
- ServicesUtilities.cs
- XmlSchemaValidationException.cs
- AnnotationResource.cs
- ManipulationCompletedEventArgs.cs
- DataGridTemplateColumn.cs
- Control.cs
- LocatorGroup.cs
- DesignerSerializationManager.cs
- DefaultHttpHandler.cs