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
- XmlSchemaSimpleTypeList.cs
- MailMessageEventArgs.cs
- WebControl.cs
- XPathParser.cs
- AspNetHostingPermission.cs
- SeverityFilter.cs
- TimestampInformation.cs
- ArraySortHelper.cs
- IODescriptionAttribute.cs
- PeerName.cs
- XmlResolver.cs
- EdmComplexPropertyAttribute.cs
- DataContractSerializer.cs
- CharStorage.cs
- TableMethodGenerator.cs
- MultiPropertyDescriptorGridEntry.cs
- KnownColorTable.cs
- RemotingAttributes.cs
- QuaternionRotation3D.cs
- XPathItem.cs
- ProfileSettingsCollection.cs
- TextSearch.cs
- ToggleButtonAutomationPeer.cs
- HttpWebResponse.cs
- RegistrationServices.cs
- MutexSecurity.cs
- JsonReader.cs
- IdentityNotMappedException.cs
- CharEnumerator.cs
- PopOutPanel.cs
- SettingsPropertyIsReadOnlyException.cs
- DefinitionUpdate.cs
- ISO2022Encoding.cs
- FieldNameLookup.cs
- Command.cs
- ConnectionPoint.cs
- UriWriter.cs
- XmlDomTextWriter.cs
- WorkflowHostingEndpoint.cs
- MessageUtil.cs
- ReferencedAssembly.cs
- HtmlToClrEventProxy.cs
- AddInActivator.cs
- SHA512Managed.cs
- GetWinFXPath.cs
- TextParagraphCache.cs
- FontSizeConverter.cs
- FontCacheUtil.cs
- WebEvents.cs
- XmlQualifiedName.cs
- XmlValidatingReader.cs
- ScriptingScriptResourceHandlerSection.cs
- OledbConnectionStringbuilder.cs
- TextServicesContext.cs
- SamlDoNotCacheCondition.cs
- PlatformNotSupportedException.cs
- TextOnlyOutput.cs
- UpDownEvent.cs
- CookielessHelper.cs
- TriggerBase.cs
- WebServiceMethodData.cs
- AssertFilter.cs
- _DomainName.cs
- DataGridViewRowsAddedEventArgs.cs
- StringUtil.cs
- CachingHintValidation.cs
- x509utils.cs
- SqlParameterCollection.cs
- ParallelEnumerable.cs
- TextCharacters.cs
- MethodBuilder.cs
- AuthenticationModulesSection.cs
- SizeKeyFrameCollection.cs
- DateTimeConverter2.cs
- TableRowCollection.cs
- VBCodeProvider.cs
- Group.cs
- OletxEnlistment.cs
- CompressedStack.cs
- PropertyDescriptor.cs
- MouseActionConverter.cs
- ExceptionHandlers.cs
- MimeMapping.cs
- IdentifierElement.cs
- SelectionChangedEventArgs.cs
- ProviderUtil.cs
- BamlVersionHeader.cs
- QueueProcessor.cs
- SchemaExporter.cs
- HyperLinkField.cs
- HashRepartitionStream.cs
- xamlnodes.cs
- EncoderReplacementFallback.cs
- ControlAdapter.cs
- MenuItem.cs
- InvalidAsynchronousStateException.cs
- ComponentConverter.cs
- HwndMouseInputProvider.cs
- TextCompositionManager.cs
- AuthenticationModuleElement.cs