Code:
/ FX-1434 / FX-1434 / 1.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
- SQLConvert.cs
- _BaseOverlappedAsyncResult.cs
- ParserExtension.cs
- XsltContext.cs
- TraceUtility.cs
- ContainerUtilities.cs
- DoubleKeyFrameCollection.cs
- SyndicationElementExtension.cs
- AccessDataSourceDesigner.cs
- IOException.cs
- SQlBooleanStorage.cs
- ObjectRef.cs
- BaseAddressElement.cs
- DataGridViewLayoutData.cs
- HwndAppCommandInputProvider.cs
- SymmetricSecurityBindingElement.cs
- GeneralTransformGroup.cs
- MethodInfo.cs
- Cursors.cs
- GACMembershipCondition.cs
- RectangleF.cs
- UnauthorizedAccessException.cs
- SubpageParaClient.cs
- SqlCaseSimplifier.cs
- OdbcConnectionStringbuilder.cs
- MimeTypePropertyAttribute.cs
- RawStylusActions.cs
- Switch.cs
- ObjectQueryProvider.cs
- Message.cs
- BCLDebug.cs
- HTMLTagNameToTypeMapper.cs
- Int32CAMarshaler.cs
- NumberFunctions.cs
- BoolLiteral.cs
- Compress.cs
- ConstrainedDataObject.cs
- GcSettings.cs
- SemaphoreFullException.cs
- NativeMethods.cs
- DesignerWithHeader.cs
- SortDescriptionCollection.cs
- HtmlInputHidden.cs
- NavigationFailedEventArgs.cs
- SudsParser.cs
- SynchronizedDispatch.cs
- MarshalByValueComponent.cs
- RegexTypeEditor.cs
- OutputCacheSettingsSection.cs
- DbFunctionCommandTree.cs
- BinaryKeyIdentifierClause.cs
- ValueQuery.cs
- TextPointerBase.cs
- NetMsmqSecurity.cs
- ComPlusTraceRecord.cs
- EntityDataSourceState.cs
- Globals.cs
- ScalarConstant.cs
- AppSecurityManager.cs
- PersonalizablePropertyEntry.cs
- PersonalizationStateInfo.cs
- UInt32Storage.cs
- FrameworkName.cs
- TextServicesProperty.cs
- CustomPopupPlacement.cs
- MailFileEditor.cs
- CfgSemanticTag.cs
- CollectionChangeEventArgs.cs
- MailMessage.cs
- StringComparer.cs
- InputScopeAttribute.cs
- PathNode.cs
- FormParameter.cs
- DateTimeFormatInfo.cs
- RenderData.cs
- BitmapCodecInfo.cs
- SafeFileMappingHandle.cs
- Wizard.cs
- CompletedAsyncResult.cs
- SystemResourceKey.cs
- SocketAddress.cs
- ApplicationException.cs
- RegexMatchCollection.cs
- SystemTcpConnection.cs
- ListBoxItemAutomationPeer.cs
- CodeMemberProperty.cs
- XmlTypeMapping.cs
- TypeDescriptionProviderAttribute.cs
- webproxy.cs
- HtmlTableCell.cs
- BinaryConverter.cs
- CompressionTransform.cs
- CodeDelegateInvokeExpression.cs
- DbExpressionBuilder.cs
- SkewTransform.cs
- OrderPreservingMergeHelper.cs
- ListDictionary.cs
- Token.cs
- CodeTypeReferenceCollection.cs
- thaishape.cs