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
- ReadingWritingEntityEventArgs.cs
- StaticExtension.cs
- ScriptResourceMapping.cs
- UITypeEditor.cs
- TTSEvent.cs
- TextViewElement.cs
- RoutedEventConverter.cs
- FacetEnabledSchemaElement.cs
- TimeSpanConverter.cs
- DrawingBrush.cs
- Mapping.cs
- CroppedBitmap.cs
- SplitterPanel.cs
- CompModSwitches.cs
- DtdParser.cs
- TreeNodeBinding.cs
- BinaryWriter.cs
- VerticalAlignConverter.cs
- ContextStack.cs
- sqlstateclientmanager.cs
- PrefixHandle.cs
- DataSet.cs
- TdsValueSetter.cs
- Base64Decoder.cs
- Query.cs
- RequestUriProcessor.cs
- ParagraphVisual.cs
- Light.cs
- ContentPresenter.cs
- HttpDictionary.cs
- TextElement.cs
- StopRoutingHandler.cs
- PersonalizationProviderHelper.cs
- PolicyManager.cs
- EntityDataSourceWizardForm.cs
- RoleGroupCollection.cs
- CmsUtils.cs
- CallbackValidator.cs
- Label.cs
- MenuItemStyle.cs
- FileNotFoundException.cs
- ScriptingAuthenticationServiceSection.cs
- XmlNodeComparer.cs
- RegionIterator.cs
- AvTraceFormat.cs
- SelectionHighlightInfo.cs
- FixedPage.cs
- StyleBamlTreeBuilder.cs
- _ShellExpression.cs
- BaseTemplateParser.cs
- AspNetSynchronizationContext.cs
- RequestQueryParser.cs
- ReflectEventDescriptor.cs
- PeerNameRecordCollection.cs
- PropertyFilterAttribute.cs
- ThreadStartException.cs
- SolidColorBrush.cs
- BufferedOutputAsyncStream.cs
- XmlReflectionMember.cs
- _TLSstream.cs
- XmlWhitespace.cs
- XmlBoundElement.cs
- CompilerTypeWithParams.cs
- CheckableControlBaseAdapter.cs
- DesignerObject.cs
- GradientBrush.cs
- XmlSchemaException.cs
- CommandArguments.cs
- DescriptionAttribute.cs
- XsltSettings.cs
- ImageInfo.cs
- Event.cs
- QueryComponents.cs
- JavaScriptObjectDeserializer.cs
- CompilerError.cs
- IndexOutOfRangeException.cs
- TextServicesManager.cs
- CollectionViewGroup.cs
- PolicyLevel.cs
- XPathConvert.cs
- ModuleConfigurationInfo.cs
- WindowsScrollBar.cs
- TextContainerChangeEventArgs.cs
- DropShadowBitmapEffect.cs
- DesignerDeviceConfig.cs
- PathHelper.cs
- HttpApplication.cs
- Misc.cs
- RuleEngine.cs
- DbMetaDataColumnNames.cs
- SqlConnectionStringBuilder.cs
- OrderedDictionaryStateHelper.cs
- DbgCompiler.cs
- Type.cs
- SecurityContext.cs
- RIPEMD160Managed.cs
- ObjectPropertyMapping.cs
- LocatorBase.cs
- VoiceChangeEventArgs.cs
- EntityDataSourceSelectingEventArgs.cs