Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1305376 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FocusChangedEventArgs.cs
- BinaryFormatterWriter.cs
- CounterSetInstanceCounterDataSet.cs
- X509Chain.cs
- RegexGroupCollection.cs
- Int16KeyFrameCollection.cs
- TypeUnloadedException.cs
- COM2FontConverter.cs
- SplitContainer.cs
- Typeface.cs
- Point3DIndependentAnimationStorage.cs
- RecognizerBase.cs
- StylusShape.cs
- RequestCache.cs
- Command.cs
- XsdDataContractImporter.cs
- VisualTarget.cs
- MemberInitExpression.cs
- XmlSchemaSimpleContentExtension.cs
- MetadataCache.cs
- CancellationHandlerDesigner.cs
- SqlConnectionHelper.cs
- StoragePropertyMapping.cs
- RadialGradientBrush.cs
- TranslateTransform.cs
- PackagePartCollection.cs
- WebBrowserContainer.cs
- ScaleTransform.cs
- ConstraintConverter.cs
- TextRangeProviderWrapper.cs
- CodeDelegateInvokeExpression.cs
- AdornerHitTestResult.cs
- RegexCompiler.cs
- PerformanceCounter.cs
- InvalidComObjectException.cs
- SerializerWriterEventHandlers.cs
- HostingEnvironment.cs
- GridItemPatternIdentifiers.cs
- UserNamePasswordClientCredential.cs
- SwitchCase.cs
- ExcludePathInfo.cs
- HopperCache.cs
- ComponentSerializationService.cs
- NetPipeSection.cs
- EncodingTable.cs
- ProfileService.cs
- MdiWindowListStrip.cs
- NavigationProperty.cs
- GridViewColumn.cs
- ProvideValueServiceProvider.cs
- BinaryMethodMessage.cs
- IdentityNotMappedException.cs
- ProfileService.cs
- HtmlTextArea.cs
- HandlerFactoryWrapper.cs
- MimeMultiPart.cs
- BreakRecordTable.cs
- XmlSchemaSet.cs
- IDispatchConstantAttribute.cs
- PropertyDescriptorCollection.cs
- RowParagraph.cs
- MenuItemStyle.cs
- ContainerControl.cs
- EventRecordWrittenEventArgs.cs
- TypeConverters.cs
- Function.cs
- InvokeHandlers.cs
- ResourceReader.cs
- _ListenerRequestStream.cs
- OleStrCAMarshaler.cs
- TreeIterator.cs
- Stack.cs
- ValidationManager.cs
- CmsInterop.cs
- EndpointDiscoveryMetadataCD1.cs
- Figure.cs
- AnnotationObservableCollection.cs
- NGCPageContentSerializerAsync.cs
- ModelTreeEnumerator.cs
- LightweightCodeGenerator.cs
- AnonymousIdentificationSection.cs
- Activator.cs
- TouchDevice.cs
- ClientType.cs
- TextMarkerSource.cs
- StoreItemCollection.cs
- GridViewSelectEventArgs.cs
- ArrayExtension.cs
- XmlCDATASection.cs
- IdnMapping.cs
- HttpCapabilitiesEvaluator.cs
- WorkflowInvoker.cs
- ArrayWithOffset.cs
- AdapterUtil.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- FtpWebRequest.cs
- CodeDOMUtility.cs
- StringWriter.cs
- SqlTypesSchemaImporter.cs
- bidPrivateBase.cs