Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsRebar.cs
- ZipIOExtraFieldElement.cs
- TreeIterator.cs
- VirtualizedItemProviderWrapper.cs
- DocumentPageView.cs
- TextEditorCharacters.cs
- OleDbCommand.cs
- AnimationClockResource.cs
- DataPointer.cs
- MarkedHighlightComponent.cs
- PresentationAppDomainManager.cs
- FieldAccessException.cs
- SolidColorBrush.cs
- DesignerForm.cs
- CryptoKeySecurity.cs
- SqlStatistics.cs
- DocumentOrderComparer.cs
- GenericUriParser.cs
- AutomationIdentifierGuids.cs
- ElementsClipboardData.cs
- SpinWait.cs
- GetCardDetailsRequest.cs
- StringSource.cs
- SafeViewOfFileHandle.cs
- ColorConverter.cs
- MouseButtonEventArgs.cs
- RemotingConfigParser.cs
- InvalidFilterCriteriaException.cs
- SqlBinder.cs
- MetadataArtifactLoader.cs
- ArgumentException.cs
- Page.cs
- CalendarDateRangeChangingEventArgs.cs
- Documentation.cs
- FastPropertyAccessor.cs
- CookielessHelper.cs
- ConfigurationValidatorAttribute.cs
- SystemUdpStatistics.cs
- AutomationPatternInfo.cs
- TableLayoutRowStyleCollection.cs
- ConfigXmlReader.cs
- EntryPointNotFoundException.cs
- SafeEventLogWriteHandle.cs
- WaitHandleCannotBeOpenedException.cs
- DBCommand.cs
- XmlEnumAttribute.cs
- SQLDoubleStorage.cs
- ValueConversionAttribute.cs
- BufferBuilder.cs
- HtmlShim.cs
- EdmFunction.cs
- CapabilitiesUse.cs
- DataServiceProcessingPipelineEventArgs.cs
- ScriptServiceAttribute.cs
- ArrayExtension.cs
- XamlTypeMapper.cs
- ObjectDataSourceStatusEventArgs.cs
- MessageProtectionOrder.cs
- DbParameterCollection.cs
- ImmutableObjectAttribute.cs
- ResourceProperty.cs
- DeclarativeCatalogPart.cs
- HttpContextServiceHost.cs
- MembershipUser.cs
- PersonalizationAdministration.cs
- DataBoundControl.cs
- XmlNavigatorStack.cs
- ExternalException.cs
- SinglePageViewer.cs
- XmlCollation.cs
- RtType.cs
- TransactionBehavior.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- OdbcHandle.cs
- ipaddressinformationcollection.cs
- TextElementCollection.cs
- CodeDomSerializerException.cs
- HandlerMappingMemo.cs
- StringBuilder.cs
- WebPartEventArgs.cs
- PictureBox.cs
- NumberFormatInfo.cs
- ContentFileHelper.cs
- SqlTriggerAttribute.cs
- XmlDocumentFieldSchema.cs
- BigInt.cs
- BuildProviderUtils.cs
- BufferAllocator.cs
- MemberAssignment.cs
- FrameworkObject.cs
- DataGridCommandEventArgs.cs
- InheritablePropertyChangeInfo.cs
- Pair.cs
- BinaryParser.cs
- IDispatchConstantAttribute.cs
- MulticastOption.cs
- SqlTypeConverter.cs
- cryptoapiTransform.cs
- DocumentOutline.cs
- SafeNativeMethods.cs