Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ScriptHandlerFactory.cs
- BaseTemplateCodeDomTreeGenerator.cs
- PauseStoryboard.cs
- TextTreeRootTextBlock.cs
- SchemaElementLookUpTable.cs
- SystemIPv4InterfaceProperties.cs
- MessageLoggingFilterTraceRecord.cs
- LogStore.cs
- BrowsableAttribute.cs
- XmlObjectSerializerWriteContextComplex.cs
- AspNetSynchronizationContext.cs
- SqlConnectionHelper.cs
- HyperLinkColumn.cs
- ObjectView.cs
- UIElementCollection.cs
- DiscoveryReferences.cs
- GenericEnumConverter.cs
- AuthenticationModuleElement.cs
- ConstraintStruct.cs
- WebBrowserUriTypeConverter.cs
- UpdatePanel.cs
- Grid.cs
- CodeDirectoryCompiler.cs
- EmptyStringExpandableObjectConverter.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- VectorKeyFrameCollection.cs
- ProfileInfo.cs
- TransformerTypeCollection.cs
- Publisher.cs
- PropertyTabChangedEvent.cs
- WSFederationHttpBindingCollectionElement.cs
- Errors.cs
- Visual.cs
- TimeSpanParse.cs
- ObjectStateFormatter.cs
- WindowsClientElement.cs
- ExtenderProvidedPropertyAttribute.cs
- PolicyStatement.cs
- Int64.cs
- ChtmlTextWriter.cs
- ActiveXSite.cs
- DocumentPageView.cs
- KnownTypesProvider.cs
- PeerInvitationResponse.cs
- ListViewInsertionMark.cs
- Schema.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- MessageTraceRecord.cs
- Main.cs
- DiscreteKeyFrames.cs
- MatrixTransform.cs
- PageClientProxyGenerator.cs
- DefaultPropertyAttribute.cs
- XmlTypeAttribute.cs
- Point4D.cs
- CachedFontFace.cs
- TcpChannelFactory.cs
- SocketInformation.cs
- HtmlTable.cs
- TraceListeners.cs
- StrokeCollection.cs
- TemplateContent.cs
- CheckPair.cs
- EmptyStringExpandableObjectConverter.cs
- PartialTrustValidationBehavior.cs
- HttpApplicationFactory.cs
- baseaxisquery.cs
- AbstractSvcMapFileLoader.cs
- XmlSignificantWhitespace.cs
- ComponentCommands.cs
- EventHandlersStore.cs
- InkCollectionBehavior.cs
- PrinterResolution.cs
- GeneralTransform.cs
- InputScopeManager.cs
- EventDescriptor.cs
- DownloadProgressEventArgs.cs
- FixedSOMContainer.cs
- CharAnimationUsingKeyFrames.cs
- CodeDomConfigurationHandler.cs
- CompileXomlTask.cs
- _HTTPDateParse.cs
- VariableQuery.cs
- Keyboard.cs
- MetricEntry.cs
- ObjectAssociationEndMapping.cs
- ReliabilityContractAttribute.cs
- PreviewPageInfo.cs
- SizeF.cs
- Stackframe.cs
- SymmetricCryptoHandle.cs
- SourceItem.cs
- AppSettingsReader.cs
- ProxyHelper.cs
- FileDialog.cs
- CanExecuteRoutedEventArgs.cs
- RadialGradientBrush.cs
- RuleConditionDialog.cs
- ControlPropertyNameConverter.cs
- Interlocked.cs