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
- UIElement3DAutomationPeer.cs
- MenuItemBinding.cs
- MissingMemberException.cs
- SessionEndedEventArgs.cs
- NativeMethods.cs
- XmlLangPropertyAttribute.cs
- AdornedElementPlaceholder.cs
- CodeIdentifiers.cs
- InternalsVisibleToAttribute.cs
- InputQueue.cs
- DesignerTransaction.cs
- TypeUsage.cs
- StdValidatorsAndConverters.cs
- PolygonHotSpot.cs
- CodeDomConfigurationHandler.cs
- EdmConstants.cs
- EventDescriptor.cs
- AssemblyBuilder.cs
- PositiveTimeSpanValidator.cs
- FastPropertyAccessor.cs
- documentation.cs
- LinqDataSourceDisposeEventArgs.cs
- ConstructorArgumentAttribute.cs
- ProcessInputEventArgs.cs
- ReadOnlyAttribute.cs
- StickyNoteContentControl.cs
- Substitution.cs
- URLIdentityPermission.cs
- ApplicationTrust.cs
- RoleManagerEventArgs.cs
- FrameworkElementFactory.cs
- ComboBoxRenderer.cs
- ZoneMembershipCondition.cs
- Journal.cs
- ContentControl.cs
- DrawingCollection.cs
- BaseParagraph.cs
- oledbmetadatacollectionnames.cs
- ValidatingPropertiesEventArgs.cs
- Rotation3D.cs
- BounceEase.cs
- AppDomainManager.cs
- peernodestatemanager.cs
- WorkflowRuntimeService.cs
- DictionaryTraceRecord.cs
- ModuleConfigurationInfo.cs
- HyperLink.cs
- OdbcFactory.cs
- OrElse.cs
- ImmutableCollection.cs
- RelationshipDetailsRow.cs
- MDIWindowDialog.cs
- CodeNamespace.cs
- SafeViewOfFileHandle.cs
- ping.cs
- TrustLevelCollection.cs
- CookieProtection.cs
- Enlistment.cs
- ViewBase.cs
- CommandLineParser.cs
- FontStyles.cs
- EntityDataSourceDataSelection.cs
- BaseParagraph.cs
- CertificateElement.cs
- PerspectiveCamera.cs
- ContainerUtilities.cs
- WSSecurityPolicy12.cs
- OpenFileDialog.cs
- PageRouteHandler.cs
- Queue.cs
- TextTrailingWordEllipsis.cs
- CollectionBuilder.cs
- TrustSection.cs
- SQLByte.cs
- XmlSchemaImport.cs
- EnumValAlphaComparer.cs
- ToolStripControlHost.cs
- ResourceCodeDomSerializer.cs
- PropertyRecord.cs
- ConfigurationStrings.cs
- ListItemDetailViewAttribute.cs
- FontDifferentiator.cs
- Vector3DConverter.cs
- ArithmeticException.cs
- ProxyGenerator.cs
- GroupItem.cs
- AnimationStorage.cs
- KnownTypeAttribute.cs
- RepeaterItem.cs
- BrowserCapabilitiesCompiler.cs
- CalculatedColumn.cs
- Metadata.cs
- CodeDomLocalizationProvider.cs
- BindUriHelper.cs
- IgnoreSection.cs
- AddInBase.cs
- CatalogPart.cs
- TreeNode.cs
- PrePrepareMethodAttribute.cs
- RuntimeEnvironment.cs