Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripPanelRenderEventArgs.cs / 1 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EpmContentSerializerBase.cs
- Frame.cs
- EtwProvider.cs
- DataGridCommandEventArgs.cs
- Assembly.cs
- ParameterCollection.cs
- RefType.cs
- GeneralTransform3DGroup.cs
- Effect.cs
- ExtensionDataReader.cs
- HttpModuleActionCollection.cs
- AddInControllerImpl.cs
- HScrollProperties.cs
- ApplicationSecurityManager.cs
- CanonicalizationDriver.cs
- SchemaTypeEmitter.cs
- WebRequestModuleElementCollection.cs
- SocketElement.cs
- WebPartTransformerAttribute.cs
- RegexGroup.cs
- DetailsViewPagerRow.cs
- RemotingServices.cs
- SecurityUtils.cs
- StreamBodyWriter.cs
- FormViewAutoFormat.cs
- ToolStripPanelDesigner.cs
- SqlNode.cs
- TransformFinalBlockRequest.cs
- SmuggledIUnknown.cs
- NonSerializedAttribute.cs
- HttpRequestWrapper.cs
- DocumentPage.cs
- Constraint.cs
- Base64Stream.cs
- RemoveStoryboard.cs
- HttpProtocolReflector.cs
- ApplicationManager.cs
- DeferredReference.cs
- Directory.cs
- CommandBindingCollection.cs
- SQLDoubleStorage.cs
- DelimitedListTraceListener.cs
- XpsColorContext.cs
- FontCacheUtil.cs
- _CookieModule.cs
- CodeTypeMemberCollection.cs
- XPathScanner.cs
- Cell.cs
- ContainerTracking.cs
- httpstaticobjectscollection.cs
- DataViewManager.cs
- DependencyPropertyKind.cs
- CompareValidator.cs
- CodeCommentStatementCollection.cs
- LoginView.cs
- BufferModeSettings.cs
- MailWebEventProvider.cs
- TypeLibraryHelper.cs
- NullToBooleanConverter.cs
- DataFormats.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SpAudioStreamWrapper.cs
- HwndSource.cs
- BitmapFrame.cs
- JoinQueryOperator.cs
- XmlRawWriter.cs
- TreeNodeSelectionProcessor.cs
- FieldDescriptor.cs
- ScopelessEnumAttribute.cs
- FixedHyperLink.cs
- ActionMessageFilter.cs
- EncryptedXml.cs
- ICollection.cs
- CallSiteHelpers.cs
- SynchronousReceiveElement.cs
- xamlnodes.cs
- Triplet.cs
- ChangeDirector.cs
- DbDeleteCommandTree.cs
- RequestChannel.cs
- ProfileBuildProvider.cs
- ConnectionManagementElement.cs
- EdmToObjectNamespaceMap.cs
- BrowserCapabilitiesFactory35.cs
- LayoutUtils.cs
- VisualTreeFlattener.cs
- EmitterCache.cs
- XmlTextAttribute.cs
- ExceptionUtil.cs
- ButtonField.cs
- MailWebEventProvider.cs
- AssemblyBuilder.cs
- cache.cs
- SqlClientFactory.cs
- MemberMemberBinding.cs
- CacheManager.cs
- NameNode.cs
- WSDualHttpSecurityElement.cs
- GlobalizationSection.cs
- XmlSortKey.cs