Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebEventCodes.cs
- Span.cs
- FormsAuthenticationTicket.cs
- ViewStateException.cs
- Condition.cs
- LexicalChunk.cs
- Table.cs
- StreamBodyWriter.cs
- ArraySortHelper.cs
- Style.cs
- XPathScanner.cs
- UserInitiatedNavigationPermission.cs
- RegularExpressionValidator.cs
- ExpressionVisitor.cs
- SqlNode.cs
- XmlSignatureManifest.cs
- DataQuery.cs
- BinaryCommonClasses.cs
- XmlMembersMapping.cs
- DesignerActionItemCollection.cs
- TypeDelegator.cs
- ConfigurationManagerHelper.cs
- EditorZoneBase.cs
- PeerObject.cs
- KeyboardNavigation.cs
- Literal.cs
- IndentedTextWriter.cs
- RepeaterItem.cs
- UxThemeWrapper.cs
- BamlLocalizableResourceKey.cs
- DbConnectionOptions.cs
- MutableAssemblyCacheEntry.cs
- ApplicationSecurityManager.cs
- StorageEntityTypeMapping.cs
- PreservationFileWriter.cs
- ControllableStoryboardAction.cs
- DispatcherSynchronizationContext.cs
- NetTcpSection.cs
- ProfilePropertySettingsCollection.cs
- ConfigurationSchemaErrors.cs
- ContentPlaceHolder.cs
- ClientSettingsSection.cs
- XmlSerializerFactory.cs
- ProgressiveCrcCalculatingStream.cs
- ProcessProtocolHandler.cs
- StringUtil.cs
- Activation.cs
- XmlSchemaValidationException.cs
- ClassicBorderDecorator.cs
- KeyInterop.cs
- DefaultBindingPropertyAttribute.cs
- AdornerPresentationContext.cs
- TransformerTypeCollection.cs
- CancellationState.cs
- SimpleApplicationHost.cs
- Random.cs
- Unit.cs
- FileLoadException.cs
- ControlPaint.cs
- QilPatternFactory.cs
- TextBoxView.cs
- CheckBoxField.cs
- brushes.cs
- CollectionChangedEventManager.cs
- LayoutEvent.cs
- ExpandSegmentCollection.cs
- ObjectManager.cs
- CodeSnippetTypeMember.cs
- BinHexDecoder.cs
- DbInsertCommandTree.cs
- AlphabeticalEnumConverter.cs
- EntityParameterCollection.cs
- ProfileManager.cs
- ChangeProcessor.cs
- RetrieveVirtualItemEventArgs.cs
- DependencyObjectProvider.cs
- AuthenticationSection.cs
- _FixedSizeReader.cs
- DefaultBinder.cs
- DateTimeConstantAttribute.cs
- GridViewDeletedEventArgs.cs
- Directory.cs
- DSGeneratorProblem.cs
- ServiceMetadataContractBehavior.cs
- TabPageDesigner.cs
- ProfileSection.cs
- DictionaryContent.cs
- CodeSnippetExpression.cs
- XmlSchemaSimpleTypeList.cs
- SafeCryptoHandles.cs
- FixedSOMContainer.cs
- ImageSourceValueSerializer.cs
- SynchronizedRandom.cs
- _TimerThread.cs
- ReadOnlyObservableCollection.cs
- AttachedAnnotationChangedEventArgs.cs
- HMACSHA512.cs
- SystemNetworkInterface.cs
- TextFormatterContext.cs
- XmlSchemaAnyAttribute.cs