Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputLanguageSource.cs
- NumberFormatter.cs
- securitymgrsite.cs
- ModelPerspective.cs
- OdbcRowUpdatingEvent.cs
- Privilege.cs
- Separator.cs
- DynamicUpdateCommand.cs
- SqlTrackingService.cs
- PageFunction.cs
- SqlDataSourceTableQuery.cs
- XsdValidatingReader.cs
- Expressions.cs
- IndexerNameAttribute.cs
- FlowLayout.cs
- FileStream.cs
- CodeParameterDeclarationExpression.cs
- DateTimeOffsetAdapter.cs
- ProcessHostFactoryHelper.cs
- Graph.cs
- RadialGradientBrush.cs
- SqlCommandSet.cs
- MarkupCompilePass2.cs
- RecognizerInfo.cs
- ZoomPercentageConverter.cs
- IriParsingElement.cs
- CodeTypeParameter.cs
- ColorBuilder.cs
- BridgeDataRecord.cs
- ParserHooks.cs
- PasswordPropertyTextAttribute.cs
- CqlWriter.cs
- CompositeFontFamily.cs
- SqlCommandBuilder.cs
- ExpressionVisitor.cs
- LogExtentCollection.cs
- PackWebRequest.cs
- EventRouteFactory.cs
- BinarySecretKeyIdentifierClause.cs
- BuildResult.cs
- SystemTcpConnection.cs
- StyleBamlTreeBuilder.cs
- Button.cs
- Int16AnimationBase.cs
- ReferentialConstraintRoleElement.cs
- PipeStream.cs
- CustomPopupPlacement.cs
- ColorContext.cs
- RemotingServices.cs
- AbandonedMutexException.cs
- ToolStripButton.cs
- SafeSerializationManager.cs
- HotSpotCollection.cs
- SqlCharStream.cs
- TableCell.cs
- ConfigurationManagerHelper.cs
- HttpResponseBase.cs
- ToolStripPanelSelectionBehavior.cs
- CategoryGridEntry.cs
- DataErrorValidationRule.cs
- XmlDataSourceNodeDescriptor.cs
- OleDbRowUpdatingEvent.cs
- FontUnit.cs
- XmlAnyAttributeAttribute.cs
- ImageSourceValueSerializer.cs
- PerspectiveCamera.cs
- CacheDependency.cs
- ErrorProvider.cs
- SHA256Managed.cs
- TypeToken.cs
- Transform.cs
- HelpProvider.cs
- XsltConvert.cs
- PropertyPathWorker.cs
- Listbox.cs
- ItemList.cs
- SecurityKeyType.cs
- MultiAsyncResult.cs
- LocatorManager.cs
- LocalizeDesigner.cs
- ApplicationContext.cs
- DataContractAttribute.cs
- CurrentTimeZone.cs
- RSAPKCS1SignatureDeformatter.cs
- DocumentEventArgs.cs
- SqlConnectionPoolProviderInfo.cs
- BitVec.cs
- ProxyAttribute.cs
- DataGridViewCellLinkedList.cs
- StoreItemCollection.Loader.cs
- ContentFileHelper.cs
- GlobalizationAssembly.cs
- SettingsPropertyCollection.cs
- BaseTemplatedMobileComponentEditor.cs
- ListView.cs
- TransportBindingElementImporter.cs
- NamespaceQuery.cs
- OrderByQueryOptionExpression.cs
- ProtocolsConfigurationHandler.cs
- IteratorDescriptor.cs