Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1305376 / ToolStripContentPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // 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
- TextAutomationPeer.cs
- DataServiceExpressionVisitor.cs
- CopyEncoder.cs
- TemplateColumn.cs
- Matrix.cs
- RC2.cs
- ControlParameter.cs
- SocketAddress.cs
- documentsequencetextpointer.cs
- xmlsaver.cs
- InputBuffer.cs
- KeyEvent.cs
- UserPersonalizationStateInfo.cs
- DTCTransactionManager.cs
- StylusCaptureWithinProperty.cs
- Vector3DKeyFrameCollection.cs
- RotateTransform3D.cs
- TypeUtil.cs
- InheritedPropertyDescriptor.cs
- HeaderedItemsControl.cs
- RoleManagerEventArgs.cs
- IpcClientManager.cs
- XmlSchemaAll.cs
- ExpressionBuilder.cs
- PropertyCondition.cs
- TableLayoutStyle.cs
- IItemContainerGenerator.cs
- QilLiteral.cs
- ComponentChangedEvent.cs
- ConnectionStringsExpressionBuilder.cs
- FullTextBreakpoint.cs
- ToolStripItemTextRenderEventArgs.cs
- XmlSchemaProviderAttribute.cs
- XmlSchemaValidator.cs
- EntityParameterCollection.cs
- _SslStream.cs
- bindurihelper.cs
- CodeMemberEvent.cs
- ErrorFormatterPage.cs
- ComboBoxAutomationPeer.cs
- StringSource.cs
- EntityClassGenerator.cs
- AddressingVersion.cs
- ComboBox.cs
- WmpBitmapDecoder.cs
- AutoSizeToolBoxItem.cs
- SemanticTag.cs
- DropDownButton.cs
- UserControlFileEditor.cs
- GestureRecognizer.cs
- FixedBufferAttribute.cs
- DefaultProxySection.cs
- login.cs
- EdmScalarPropertyAttribute.cs
- XmlSchemaValidationException.cs
- Point4DConverter.cs
- AspCompat.cs
- RadioButton.cs
- GeneralTransform3DCollection.cs
- ReadOnlyState.cs
- PrintDocument.cs
- ChineseLunisolarCalendar.cs
- MetadataHelper.cs
- TargetConverter.cs
- ListControlConvertEventArgs.cs
- ExpressionBinding.cs
- AnnotationResourceChangedEventArgs.cs
- RecordBuilder.cs
- CheckBoxStandardAdapter.cs
- Int64.cs
- ConfigurationValidatorBase.cs
- ECDsaCng.cs
- TreeBuilderBamlTranslator.cs
- PageAsyncTaskManager.cs
- PropertyRecord.cs
- FormatterServicesNoSerializableCheck.cs
- ContractsBCL.cs
- EncoderParameters.cs
- PointAnimationUsingKeyFrames.cs
- SecurityKeyType.cs
- AutomationAttributeInfo.cs
- SecurityPermission.cs
- WebPartConnectionsEventArgs.cs
- CancellationHandlerDesigner.cs
- WebScriptClientGenerator.cs
- RoleManagerSection.cs
- FixedSOMGroup.cs
- InstanceHandleConflictException.cs
- ObjectDesignerDataSourceView.cs
- MsmqSecureHashAlgorithm.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- SqlFacetAttribute.cs
- CrossSiteScriptingValidation.cs
- NativeMethods.cs
- ItemDragEvent.cs
- PropertyPushdownHelper.cs
- RepeatButton.cs
- NullableFloatMinMaxAggregationOperator.cs
- util.cs
- DocumentViewerAutomationPeer.cs