Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- DocumentGridPage.cs
- AssemblyBuilder.cs
- UncommonField.cs
- XmlWriter.cs
- OutOfProcStateClientManager.cs
- _FixedSizeReader.cs
- HttpStreamXmlDictionaryReader.cs
- SqlMethodTransformer.cs
- ZipFileInfoCollection.cs
- BlockCollection.cs
- ExpressionSelection.cs
- DynamicActivityProperty.cs
- WebPartCatalogCloseVerb.cs
- RenderData.cs
- XPathPatternBuilder.cs
- IdentityNotMappedException.cs
- User.cs
- XmlEncoding.cs
- PipeStream.cs
- FileDialogPermission.cs
- SynchronizedDispatch.cs
- TypeTypeConverter.cs
- SurrogateEncoder.cs
- ModifierKeysValueSerializer.cs
- TextBox.cs
- XmlNodeList.cs
- HttpProfileBase.cs
- Viewport2DVisual3D.cs
- ObjectKeyFrameCollection.cs
- RegularExpressionValidator.cs
- PrintController.cs
- Oid.cs
- ChannelDispatcher.cs
- IsolationInterop.cs
- ScriptReference.cs
- ReservationNotFoundException.cs
- DataKey.cs
- InvalidCommandTreeException.cs
- SchemaNamespaceManager.cs
- DesignTimeVisibleAttribute.cs
- NavigationPropertyEmitter.cs
- MapPathBasedVirtualPathProvider.cs
- MediaPlayerState.cs
- XPathSelectionIterator.cs
- PointCollection.cs
- FocusChangedEventArgs.cs
- LocalizabilityAttribute.cs
- EntityRecordInfo.cs
- Unit.cs
- WeakReferenceList.cs
- BuildProviderUtils.cs
- AssemblyBuilder.cs
- XmlSchemaExporter.cs
- AuthorizationSection.cs
- PageTheme.cs
- ThicknessAnimation.cs
- TextSelection.cs
- LocatorGroup.cs
- QueryContinueDragEvent.cs
- LinqDataSourceUpdateEventArgs.cs
- SplitterPanel.cs
- SkewTransform.cs
- PresentationTraceSources.cs
- PersonalizableAttribute.cs
- StorageSetMapping.cs
- XPathExpr.cs
- ISFClipboardData.cs
- WebPartCollection.cs
- MarginsConverter.cs
- NamedPermissionSet.cs
- ImageBrush.cs
- SafeSecurityHelper.cs
- DrawingDrawingContext.cs
- DataBoundControlAdapter.cs
- MultiView.cs
- DelimitedListTraceListener.cs
- AssertFilter.cs
- EntitySqlQueryCacheEntry.cs
- path.cs
- WpfGeneratedKnownProperties.cs
- ResourceExpressionEditorSheet.cs
- httpstaticobjectscollection.cs
- TextParaLineResult.cs
- RolePrincipal.cs
- BuildManagerHost.cs
- cookie.cs
- GacUtil.cs
- Baml2006Reader.cs
- PropertyDescriptor.cs
- UnionCodeGroup.cs
- HttpPostClientProtocol.cs
- SamlDelegatingWriter.cs
- _SpnDictionary.cs
- ProtocolsConfigurationEntry.cs
- ExtendedProperty.cs
- GACIdentityPermission.cs
- UnicodeEncoding.cs
- FontStretchConverter.cs
- CacheSection.cs
- X500Name.cs