Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- KeyPressEvent.cs
- TdsParserHelperClasses.cs
- DataGridDesigner.cs
- ImagingCache.cs
- DoubleUtil.cs
- ArgumentValue.cs
- PeerNameRecordCollection.cs
- RelatedEnd.cs
- SQLMembershipProvider.cs
- ExcCanonicalXml.cs
- DataGridDesigner.cs
- TextRangeEditLists.cs
- CrossContextChannel.cs
- RangeValidator.cs
- SelfIssuedAuthAsymmetricKey.cs
- OuterGlowBitmapEffect.cs
- WebPartConnectionsConnectVerb.cs
- ObjectListDataBindEventArgs.cs
- SoapTypeAttribute.cs
- PropertyCollection.cs
- DefaultPrintController.cs
- SimpleExpression.cs
- QueryHandler.cs
- FontStyles.cs
- HttpConfigurationContext.cs
- MimeTypeMapper.cs
- Attributes.cs
- QuestionEventArgs.cs
- SynchronizingStream.cs
- QuaternionConverter.cs
- DataBindingExpressionBuilder.cs
- GestureRecognitionResult.cs
- GPPOINT.cs
- TextEvent.cs
- HtmlHead.cs
- PackageRelationship.cs
- WriteFileContext.cs
- Thumb.cs
- Style.cs
- SqlError.cs
- SecurityTimestamp.cs
- SharedStatics.cs
- _WinHttpWebProxyDataBuilder.cs
- BufferedGraphics.cs
- SqlCachedBuffer.cs
- Int32CAMarshaler.cs
- DataGridAutoFormatDialog.cs
- TextDecoration.cs
- SessionViewState.cs
- WebPartConnectionsCancelEventArgs.cs
- StateDesignerConnector.cs
- PagesSection.cs
- CacheForPrimitiveTypes.cs
- HttpApplicationStateBase.cs
- ParameterToken.cs
- GridSplitterAutomationPeer.cs
- PathFigure.cs
- TraceListener.cs
- MouseWheelEventArgs.cs
- DateTimeUtil.cs
- EventLogTraceListener.cs
- DropShadowEffect.cs
- MSAANativeProvider.cs
- LayoutTable.cs
- Int64.cs
- XmlImplementation.cs
- XmlHierarchyData.cs
- RequestQueryProcessor.cs
- XmlValidatingReader.cs
- UDPClient.cs
- OdbcPermission.cs
- XmlStreamStore.cs
- EmissiveMaterial.cs
- CodeNamespaceImport.cs
- HasCopySemanticsAttribute.cs
- WebPartTracker.cs
- ColumnTypeConverter.cs
- PrivacyNoticeBindingElementImporter.cs
- ServerType.cs
- BindableAttribute.cs
- PartitionerQueryOperator.cs
- MemberDescriptor.cs
- ComUdtElementCollection.cs
- CollectionDataContractAttribute.cs
- LinkClickEvent.cs
- ConstrainedGroup.cs
- SystemTcpConnection.cs
- SortQuery.cs
- ContentElement.cs
- ComponentCollection.cs
- webclient.cs
- Timer.cs
- QueryExpr.cs
- NavigationExpr.cs
- BindingSource.cs
- XPathDocumentBuilder.cs
- ArgumentNullException.cs
- SqlGenericUtil.cs
- EasingKeyFrames.cs
- HtmlElementEventArgs.cs