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
- HtmlUtf8RawTextWriter.cs
- VectorAnimation.cs
- RestHandler.cs
- WebProxyScriptElement.cs
- AsyncSerializedWorker.cs
- NamespaceMapping.cs
- PointAnimationClockResource.cs
- DateTimeStorage.cs
- KeyEventArgs.cs
- CodeDirectoryCompiler.cs
- XmlSerializerVersionAttribute.cs
- Typography.cs
- TypeHelpers.cs
- Activator.cs
- DispatchChannelSink.cs
- SpellerStatusTable.cs
- TreeNodeCollection.cs
- UnSafeCharBuffer.cs
- VerificationException.cs
- CollectionExtensions.cs
- PassportPrincipal.cs
- VerticalAlignConverter.cs
- PasswordRecoveryAutoFormat.cs
- Input.cs
- PropertyEmitter.cs
- IApplicationTrustManager.cs
- ListComponentEditorPage.cs
- XmlAnyElementAttributes.cs
- hresults.cs
- WpfWebRequestHelper.cs
- DataBoundLiteralControl.cs
- TraceHandler.cs
- MenuBase.cs
- ToolStripAdornerWindowService.cs
- QueryPrefixOp.cs
- MailDefinition.cs
- SelectionItemPattern.cs
- DbMetaDataColumnNames.cs
- ExpressionCopier.cs
- SmiRequestExecutor.cs
- ColorDialog.cs
- securitycriticaldata.cs
- UniqueEventHelper.cs
- StrongNameIdentityPermission.cs
- BaseContextMenu.cs
- TypeSource.cs
- MeshGeometry3D.cs
- AuthenticateEventArgs.cs
- XmlSchemaSimpleType.cs
- RegionInfo.cs
- NativeObjectSecurity.cs
- GradientBrush.cs
- documentsequencetextview.cs
- DoubleKeyFrameCollection.cs
- AnnotationHighlightLayer.cs
- SoapCodeExporter.cs
- ErrorEventArgs.cs
- WorkflowApplicationUnloadedException.cs
- ComplexPropertyEntry.cs
- GridPatternIdentifiers.cs
- GlyphRun.cs
- ObjectDataSourceStatusEventArgs.cs
- LinkedList.cs
- UriTemplateMatchException.cs
- Trustee.cs
- BinHexEncoder.cs
- InternalPolicyElement.cs
- OperationCanceledException.cs
- Compiler.cs
- AbandonedMutexException.cs
- UDPClient.cs
- ToolboxSnapDragDropEventArgs.cs
- PropertyGridView.cs
- IDictionary.cs
- HttpListenerException.cs
- SqlNodeTypeOperators.cs
- PageHandlerFactory.cs
- URLAttribute.cs
- ProfileBuildProvider.cs
- WebPartVerb.cs
- SynchronizedKeyedCollection.cs
- ToolTipService.cs
- XmlSiteMapProvider.cs
- WebProxyScriptElement.cs
- XPathBuilder.cs
- CasesDictionary.cs
- InputEventArgs.cs
- ComAwareEventInfo.cs
- QilInvokeEarlyBound.cs
- DataViewManagerListItemTypeDescriptor.cs
- RowType.cs
- QuaternionAnimationBase.cs
- DecimalMinMaxAggregationOperator.cs
- DBSqlParserColumnCollection.cs
- Int64KeyFrameCollection.cs
- IOThreadTimer.cs
- followingquery.cs
- BitmapVisualManager.cs
- FilteredDataSetHelper.cs
- XsltArgumentList.cs