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
- BaseCodeDomTreeGenerator.cs
- MulticastDelegate.cs
- AccessorTable.cs
- AuthenticationSection.cs
- SimpleRecyclingCache.cs
- SqlConnectionManager.cs
- TypeUsageBuilder.cs
- PerfCounterSection.cs
- FlowDocument.cs
- WebPart.cs
- InvokePattern.cs
- OnOperation.cs
- UInt32Converter.cs
- DBCSCodePageEncoding.cs
- MachineKeyConverter.cs
- IERequestCache.cs
- SecureStringHasher.cs
- ColumnWidthChangingEvent.cs
- PackageFilter.cs
- ObjectConverter.cs
- DataFieldEditor.cs
- WebBrowserSiteBase.cs
- MsmqElementBase.cs
- ProfileParameter.cs
- IgnoreFlushAndCloseStream.cs
- DiagnosticEventProvider.cs
- DesignSurfaceCollection.cs
- SingleStorage.cs
- InternalRelationshipCollection.cs
- ParameterCollection.cs
- SslStreamSecurityElement.cs
- Focus.cs
- DrawingCollection.cs
- AmbientProperties.cs
- MappingModelBuildProvider.cs
- KeyboardEventArgs.cs
- FixedSOMTable.cs
- ProcessModule.cs
- SqlDataAdapter.cs
- Zone.cs
- SecurityState.cs
- MarshalDirectiveException.cs
- formatter.cs
- _ContextAwareResult.cs
- ByteStack.cs
- MenuItem.cs
- WebPartEditorCancelVerb.cs
- SqlTriggerAttribute.cs
- XsltQilFactory.cs
- GlobalizationSection.cs
- TraceSwitch.cs
- XmlText.cs
- ActivityExecutor.cs
- ListViewItem.cs
- exports.cs
- XmlJsonWriter.cs
- BindUriHelper.cs
- TextCharacters.cs
- mda.cs
- QueryCursorEventArgs.cs
- HttpRequestBase.cs
- PrePostDescendentsWalker.cs
- BamlTreeMap.cs
- EmbeddedMailObjectsCollection.cs
- DayRenderEvent.cs
- RegexCaptureCollection.cs
- ListViewGroupItemCollection.cs
- MatrixTransform.cs
- SourceItem.cs
- Divide.cs
- ProviderConnectionPointCollection.cs
- BlockUIContainer.cs
- ReceiveDesigner.xaml.cs
- XmlAnyElementAttributes.cs
- ColumnProvider.cs
- SecurityPermission.cs
- NavigationProperty.cs
- ConfigurationManagerInternalFactory.cs
- StreamGeometry.cs
- ResourcesBuildProvider.cs
- RSACryptoServiceProvider.cs
- AudienceUriMode.cs
- SafeFileMappingHandle.cs
- BmpBitmapEncoder.cs
- StrokeDescriptor.cs
- FindProgressChangedEventArgs.cs
- TemplateKey.cs
- UniqueID.cs
- CryptoHelper.cs
- DrawingVisual.cs
- ApplicationBuildProvider.cs
- PlainXmlDeserializer.cs
- SqlXmlStorage.cs
- LayoutEngine.cs
- ExpressionBuilderCollection.cs
- StorageScalarPropertyMapping.cs
- InvokeHandlers.cs
- Mouse.cs
- ActiveDocumentEvent.cs
- ScriptingAuthenticationServiceSection.cs