Code:
/ FX-1434 / FX-1434 / 1.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
- FileDialog_Vista.cs
- ObjectItemCachedAssemblyLoader.cs
- Visitors.cs
- DataControlFieldCollection.cs
- PtsContext.cs
- SQLDoubleStorage.cs
- XhtmlTextWriter.cs
- BroadcastEventHelper.cs
- WindowsToolbar.cs
- CompiledAction.cs
- LinqDataSourceHelper.cs
- xmlfixedPageInfo.cs
- SettingsBase.cs
- ListItemConverter.cs
- PermissionAttributes.cs
- HttpInputStream.cs
- UnsafeNativeMethods.cs
- StringDictionaryCodeDomSerializer.cs
- CheckedListBox.cs
- RefreshPropertiesAttribute.cs
- SQLDateTimeStorage.cs
- RequestCache.cs
- HtmlTableCellCollection.cs
- PersonalizationProvider.cs
- ModifyActivitiesPropertyDescriptor.cs
- ZoneLinkButton.cs
- BitmapFrame.cs
- Misc.cs
- ParseChildrenAsPropertiesAttribute.cs
- ActivityDesignerAccessibleObject.cs
- FileIOPermission.cs
- ExtensionFile.cs
- ViewValidator.cs
- ReachPageContentSerializerAsync.cs
- LinearQuaternionKeyFrame.cs
- DiagnosticTrace.cs
- PointConverter.cs
- _ListenerAsyncResult.cs
- NativeMethods.cs
- ServiceDeploymentInfo.cs
- TextSpanModifier.cs
- SetStoryboardSpeedRatio.cs
- ObjectAssociationEndMapping.cs
- WorkflowMessageEventArgs.cs
- _TLSstream.cs
- XPathDescendantIterator.cs
- DataContractFormatAttribute.cs
- DataObject.cs
- InputLanguageCollection.cs
- ExceptionHandler.cs
- UnaryNode.cs
- DbProviderFactory.cs
- XmlCountingReader.cs
- ResourceWriter.cs
- PointLight.cs
- XmlObjectSerializerWriteContext.cs
- _LocalDataStore.cs
- DataRow.cs
- EqualityComparer.cs
- AnnouncementSendsAsyncResult.cs
- DbConnectionStringBuilder.cs
- Accessible.cs
- XmlAttributeProperties.cs
- Translator.cs
- FastPropertyAccessor.cs
- ConversionContext.cs
- CqlQuery.cs
- SpecialFolderEnumConverter.cs
- TypeConverterHelper.cs
- WrapPanel.cs
- SelectorAutomationPeer.cs
- Rotation3DAnimation.cs
- EditorPart.cs
- RubberbandSelector.cs
- SelectingProviderEventArgs.cs
- TextComposition.cs
- DataList.cs
- SqlParameterizer.cs
- EventDescriptorCollection.cs
- ConnectionManagementElementCollection.cs
- TrustManagerPromptUI.cs
- ModifyActivitiesPropertyDescriptor.cs
- Vector3DKeyFrameCollection.cs
- DataGridViewButtonCell.cs
- Domain.cs
- XhtmlBasicPhoneCallAdapter.cs
- Deserializer.cs
- Table.cs
- Pair.cs
- DependencyPropertyChangedEventArgs.cs
- InvalidWMPVersionException.cs
- RectangleGeometry.cs
- SQLBytesStorage.cs
- TextEffectResolver.cs
- ProcessRequestArgs.cs
- ScrollBarRenderer.cs
- JsonQNameDataContract.cs
- SafeHandles.cs
- SecurityUtils.cs
- StylusOverProperty.cs