Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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
- FrameworkContentElement.cs
- DLinqDataModelProvider.cs
- ContentFilePart.cs
- SmtpFailedRecipientException.cs
- ValidateNames.cs
- WindowsStartMenu.cs
- Freezable.cs
- VersionedStream.cs
- ObjectHelper.cs
- PersonalizationState.cs
- WebPartDescriptionCollection.cs
- EventLogLink.cs
- HttpCacheVaryByContentEncodings.cs
- XmlSchemaDocumentation.cs
- TraceSection.cs
- ValidationPropertyAttribute.cs
- CertificateManager.cs
- EditingScope.cs
- BufferModeSettings.cs
- WebScriptEndpointElement.cs
- SmtpFailedRecipientsException.cs
- QilChoice.cs
- LicenseManager.cs
- WebEvents.cs
- HtmlHead.cs
- LinkUtilities.cs
- ClientConfigurationHost.cs
- LogFlushAsyncResult.cs
- FormatSettings.cs
- SqlDelegatedTransaction.cs
- SpeechRecognitionEngine.cs
- RichTextBox.cs
- DescendantOverDescendantQuery.cs
- BinaryUtilClasses.cs
- SqlUtil.cs
- DiagnosticTraceSource.cs
- RegionData.cs
- NativeMethods.cs
- Nullable.cs
- StateBag.cs
- MenuBindingsEditor.cs
- BStrWrapper.cs
- SettingsPropertyIsReadOnlyException.cs
- RoleManagerEventArgs.cs
- DefaultAsyncDataDispatcher.cs
- DataSourceView.cs
- Currency.cs
- XLinq.cs
- NotifyIcon.cs
- ImageAnimator.cs
- PeerObject.cs
- MSG.cs
- InfocardChannelParameter.cs
- TcpHostedTransportConfiguration.cs
- CallbackValidatorAttribute.cs
- OleDragDropHandler.cs
- HtmlTableCell.cs
- RtType.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- UsernameTokenFactoryCredential.cs
- RoutedEventConverter.cs
- BindingManagerDataErrorEventArgs.cs
- SafeFindHandle.cs
- Triplet.cs
- URL.cs
- Queue.cs
- CircleHotSpot.cs
- XmlReaderSettings.cs
- ExpressionNode.cs
- ContentDisposition.cs
- DirectoryInfo.cs
- GPPOINT.cs
- XmlSchemaValidationException.cs
- BlurEffect.cs
- AdvancedBindingEditor.cs
- BulletDecorator.cs
- InputReportEventArgs.cs
- DeviceContext.cs
- webbrowsersite.cs
- DataServiceQueryProvider.cs
- ComplusTypeValidator.cs
- SHA384.cs
- ImageInfo.cs
- PointValueSerializer.cs
- ListItemsPage.cs
- MarkupExtensionReturnTypeAttribute.cs
- OdbcInfoMessageEvent.cs
- SecurityContext.cs
- SetIterators.cs
- Run.cs
- PictureBoxDesigner.cs
- MultiTrigger.cs
- DurableDispatcherAddressingFault.cs
- ValidationError.cs
- BitmapEffectGeneralTransform.cs
- _FtpDataStream.cs
- SchemaTypeEmitter.cs
- ProjectionQueryOptionExpression.cs
- ReachPageContentSerializer.cs
- GlyphRunDrawing.cs