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
- SynchronizationContext.cs
- documentsequencetextcontainer.cs
- NestPullup.cs
- SynchronizationContext.cs
- ProfileService.cs
- DateTimeValueSerializerContext.cs
- FixedTextPointer.cs
- OleDbErrorCollection.cs
- BlurEffect.cs
- BackStopAuthenticationModule.cs
- ResourceAssociationSet.cs
- HtmlInputButton.cs
- EncryptedType.cs
- XPathSelfQuery.cs
- DateTimeOffsetConverter.cs
- ExtentKey.cs
- DiscriminatorMap.cs
- TextSpan.cs
- PeerReferralPolicy.cs
- FocusTracker.cs
- SmtpLoginAuthenticationModule.cs
- UpdateTracker.cs
- ConvertEvent.cs
- ScrollPatternIdentifiers.cs
- EntityContainer.cs
- PermissionSetTriple.cs
- SqlDependencyListener.cs
- WebPartCatalogCloseVerb.cs
- XmlEnumAttribute.cs
- CallbackHandler.cs
- XmlDataCollection.cs
- ResourcePermissionBase.cs
- XpsFontSerializationService.cs
- TextTreeUndoUnit.cs
- MaskedTextBox.cs
- SqlMethodTransformer.cs
- QueryAccessibilityHelpEvent.cs
- TextSpanModifier.cs
- Parsers.cs
- XmlDataContract.cs
- CodeMemberEvent.cs
- Int64AnimationUsingKeyFrames.cs
- CopyNodeSetAction.cs
- TextSimpleMarkerProperties.cs
- ModuleElement.cs
- EntityWithChangeTrackerStrategy.cs
- WrapPanel.cs
- StylusPointCollection.cs
- SafeNativeMethods.cs
- TextRunTypographyProperties.cs
- WindowsButton.cs
- InputMethod.cs
- NameValueSectionHandler.cs
- XomlCompilerError.cs
- Message.cs
- Query.cs
- MultiSelector.cs
- RenderTargetBitmap.cs
- DataGridViewTextBoxEditingControl.cs
- CellRelation.cs
- CompilerGeneratedAttribute.cs
- AttributeTable.cs
- DecoderNLS.cs
- WebServiceEnumData.cs
- RemoveStoryboard.cs
- RoleProviderPrincipal.cs
- SystemDiagnosticsSection.cs
- CodeSnippetCompileUnit.cs
- RadioButton.cs
- FileDialogCustomPlace.cs
- BevelBitmapEffect.cs
- DelegatedStream.cs
- AccessDataSourceView.cs
- ChannelOptions.cs
- Util.cs
- EntityDataSourceView.cs
- ObjectHelper.cs
- ProviderUtil.cs
- ContainerActivationHelper.cs
- AxisAngleRotation3D.cs
- CompilerGlobalScopeAttribute.cs
- ScrollEventArgs.cs
- XmlSchemaSet.cs
- SizeF.cs
- StringOutput.cs
- ValueOfAction.cs
- BlurEffect.cs
- CssClassPropertyAttribute.cs
- TextServicesContext.cs
- PropertyChangedEventManager.cs
- GenerateHelper.cs
- Deflater.cs
- SafeLibraryHandle.cs
- TransferMode.cs
- ProtocolsConfigurationEntry.cs
- MbpInfo.cs
- DataControlField.cs
- ScopedKnownTypes.cs
- DataServiceClientException.cs
- PrincipalPermission.cs