Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProfessionalColors.cs
- _NestedMultipleAsyncResult.cs
- ResolveNameEventArgs.cs
- QueryableDataSourceView.cs
- GlyphingCache.cs
- OleAutBinder.cs
- InstanceLockLostException.cs
- ToolStripItemClickedEventArgs.cs
- SqlAliasesReferenced.cs
- InfocardExtendedInformationCollection.cs
- ListViewItem.cs
- UnsafeNativeMethods.cs
- RowToFieldTransformer.cs
- InnerItemCollectionView.cs
- ListBase.cs
- AnnotationComponentManager.cs
- ConfigurationManagerInternalFactory.cs
- SerializationAttributes.cs
- HyperLink.cs
- XPathSelfQuery.cs
- CodeExporter.cs
- Bitmap.cs
- DecodeHelper.cs
- QueryGeneratorBase.cs
- MimeMapping.cs
- WorkflowInstanceProvider.cs
- LinkUtilities.cs
- DataGridViewComboBoxColumn.cs
- Permission.cs
- FilterQueryOptionExpression.cs
- SQLCharsStorage.cs
- ResourceAssociationSet.cs
- SqlBuffer.cs
- FileRegion.cs
- PartBasedPackageProperties.cs
- VirtualPath.cs
- WindowsHyperlink.cs
- Error.cs
- UIElementParagraph.cs
- PeerToPeerException.cs
- AppliedDeviceFiltersDialog.cs
- ErrorRuntimeConfig.cs
- ToolStripCustomTypeDescriptor.cs
- SelectedDatesCollection.cs
- WebConvert.cs
- ClientRoleProvider.cs
- DictionaryManager.cs
- TextDecorationLocationValidation.cs
- OleDbDataReader.cs
- ScaleTransform.cs
- XPathNavigatorKeyComparer.cs
- HttpModuleActionCollection.cs
- DataGridViewSelectedCellCollection.cs
- GridToolTip.cs
- GenerateTemporaryTargetAssembly.cs
- AnnotationHighlightLayer.cs
- StateItem.cs
- TimelineGroup.cs
- PropertyKey.cs
- GAC.cs
- RuntimeArgumentHandle.cs
- Variable.cs
- XPathChildIterator.cs
- BeginGetFileNameFromUserRequest.cs
- ScrollBar.cs
- Rectangle.cs
- MultilineStringEditor.cs
- Membership.cs
- X509ServiceCertificateAuthenticationElement.cs
- XmlSchemaDatatype.cs
- SymbolTable.cs
- XmlNamespaceDeclarationsAttribute.cs
- IndexedSelectQueryOperator.cs
- CommandTreeTypeHelper.cs
- SymmetricSecurityProtocolFactory.cs
- MenuItemBinding.cs
- EventMap.cs
- FileDialogCustomPlacesCollection.cs
- ScriptResourceMapping.cs
- OrthographicCamera.cs
- CompiledAction.cs
- WebPartConnectionsEventArgs.cs
- TextRangeProviderWrapper.cs
- DataRowChangeEvent.cs
- TextCompositionEventArgs.cs
- _NestedSingleAsyncResult.cs
- BindToObject.cs
- ShutDownListener.cs
- linebase.cs
- CatalogPart.cs
- SelfIssuedAuthAsymmetricKey.cs
- TextBounds.cs
- TrackingWorkflowEventArgs.cs
- BypassElementCollection.cs
- mediaeventargs.cs
- nulltextnavigator.cs
- Geometry.cs
- FormatPage.cs
- ASCIIEncoding.cs
- MD5.cs