Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripPanelRenderEventArgs.cs / 1305376 / 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
- CompatibleComparer.cs
- RuleProcessor.cs
- ErrorWebPart.cs
- HexParser.cs
- WizardPanel.cs
- EntityDataSourceContextCreatedEventArgs.cs
- SqlParameter.cs
- MultiDataTrigger.cs
- XpsLiterals.cs
- SqlRetyper.cs
- SerialPort.cs
- XmlSchemaAnnotation.cs
- DefaultValueConverter.cs
- SerializationHelper.cs
- CharacterBuffer.cs
- smtppermission.cs
- WCFBuildProvider.cs
- BoundingRectTracker.cs
- ResourceIDHelper.cs
- EllipticalNodeOperations.cs
- SqlCommand.cs
- BindingListCollectionView.cs
- ObjectDataSourceView.cs
- FileIOPermission.cs
- Thread.cs
- PagedDataSource.cs
- SetStoryboardSpeedRatio.cs
- PagerSettings.cs
- ViewGenerator.cs
- MetaType.cs
- DocumentSequenceHighlightLayer.cs
- AdCreatedEventArgs.cs
- EditorAttribute.cs
- XMLSchema.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- CheckPair.cs
- ActionNotSupportedException.cs
- XsltLibrary.cs
- DynamicDocumentPaginator.cs
- SqlDuplicator.cs
- MappingMetadataHelper.cs
- Privilege.cs
- SqlDataSourceCommandEventArgs.cs
- DataGridViewLinkCell.cs
- MenuBindingsEditor.cs
- GridViewEditEventArgs.cs
- PartitionerStatic.cs
- ThreadSafeList.cs
- CodeVariableReferenceExpression.cs
- XXXInfos.cs
- Journal.cs
- SchemaLookupTable.cs
- ContainerUtilities.cs
- DesignConnection.cs
- DbConnectionFactory.cs
- SynchronizingStream.cs
- Resources.Designer.cs
- ConvertEvent.cs
- ExpressionBuilder.cs
- MediaElementAutomationPeer.cs
- MessageBox.cs
- ZipIOFileItemStream.cs
- SymbolMethod.cs
- Camera.cs
- ListViewDataItem.cs
- ToolStripArrowRenderEventArgs.cs
- CharKeyFrameCollection.cs
- RowsCopiedEventArgs.cs
- TemplateBindingExtension.cs
- ListViewDeletedEventArgs.cs
- TypedTableHandler.cs
- GlyphsSerializer.cs
- XmlBinaryReader.cs
- XslAst.cs
- RenderingBiasValidation.cs
- ValidationSummary.cs
- GeneralTransformGroup.cs
- TriState.cs
- ViewRendering.cs
- HttpHandlerAction.cs
- SafeFileMappingHandle.cs
- MenuItemBinding.cs
- XsdDateTime.cs
- ThreadAttributes.cs
- SHA1Managed.cs
- AtomContentProperty.cs
- SiteMapNode.cs
- Internal.cs
- SerializationException.cs
- AppliedDeviceFiltersEditor.cs
- SafeEventLogWriteHandle.cs
- StringUtil.cs
- DownloadProgressEventArgs.cs
- StrokeIntersection.cs
- Ipv6Element.cs
- CodeNamespaceCollection.cs
- CollectionConverter.cs
- WebServicesDescriptionAttribute.cs
- MenuItemBindingCollection.cs
- XPathParser.cs