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 / ToolStripContentPanelRenderEventArgs.cs / 1 / ToolStripContentPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // 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; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // 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
- ExpressionBuilder.cs
- FieldAccessException.cs
- TextDocumentView.cs
- recordstatescratchpad.cs
- URLString.cs
- ActivityExecutor.cs
- SkipQueryOptionExpression.cs
- ParserHooks.cs
- UnSafeCharBuffer.cs
- XmlSchemaGroup.cs
- ListBindableAttribute.cs
- DataGridColumnCollectionEditor.cs
- StringReader.cs
- DateTimeParse.cs
- XmlDeclaration.cs
- VScrollBar.cs
- DrawingBrush.cs
- PropertyDescriptorGridEntry.cs
- ToolStripHighContrastRenderer.cs
- SizeConverter.cs
- Vector3DKeyFrameCollection.cs
- _AutoWebProxyScriptHelper.cs
- FormsAuthenticationTicket.cs
- ScriptRef.cs
- RestrictedTransactionalPackage.cs
- EntityDataSourceDesigner.cs
- IIS7WorkerRequest.cs
- ConfigXmlReader.cs
- AsyncOperationManager.cs
- _AutoWebProxyScriptHelper.cs
- FollowerQueueCreator.cs
- CardSpaceShim.cs
- LayoutSettings.cs
- SecurityTokenTypes.cs
- FastEncoderWindow.cs
- Input.cs
- SystemColorTracker.cs
- WpfXamlMember.cs
- XmlDataProvider.cs
- StoreItemCollection.Loader.cs
- WebPartHelpVerb.cs
- SelectorAutomationPeer.cs
- WindowInteractionStateTracker.cs
- TextDecorationCollection.cs
- DbDeleteCommandTree.cs
- RectKeyFrameCollection.cs
- HuffmanTree.cs
- CallSiteBinder.cs
- ExpressionPrefixAttribute.cs
- InkCanvasSelectionAdorner.cs
- PeerApplication.cs
- GregorianCalendar.cs
- SqlProcedureAttribute.cs
- FieldNameLookup.cs
- ErasingStroke.cs
- VersionConverter.cs
- GridViewEditEventArgs.cs
- FlowDocumentPaginator.cs
- CodeTypeParameterCollection.cs
- DelegateSerializationHolder.cs
- ClientSettingsSection.cs
- DescriptionAttribute.cs
- StackOverflowException.cs
- ClusterRegistryConfigurationProvider.cs
- FrameworkContentElement.cs
- AttachedAnnotation.cs
- TimelineGroup.cs
- WebPartVerbCollection.cs
- KnownTypesProvider.cs
- InvokePattern.cs
- KnownBoxes.cs
- XmlElementAttributes.cs
- BadImageFormatException.cs
- KeyConstraint.cs
- DescendentsWalker.cs
- Funcletizer.cs
- XmlSchemaCollection.cs
- Int32Converter.cs
- UndoManager.cs
- ToolStripDesignerAvailabilityAttribute.cs
- RegexReplacement.cs
- RenderOptions.cs
- BindingSource.cs
- TitleStyle.cs
- DataObject.cs
- SystemMulticastIPAddressInformation.cs
- SmiEventSink.cs
- CultureSpecificCharacterBufferRange.cs
- CaseExpr.cs
- Brushes.cs
- TimeSpanSecondsConverter.cs
- SecurityRequiresReviewAttribute.cs
- XsltSettings.cs
- PropertyMapper.cs
- WriteableOnDemandStream.cs
- TypeUsage.cs
- PolicyStatement.cs
- ReferenceService.cs
- GroupLabel.cs
- GlyphTypeface.cs