Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripArrowRenderEventArgs.cs / 1 / ToolStripArrowRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ///public class ToolStripArrowRenderEventArgs : EventArgs { private Graphics graphics = null; private Rectangle arrowRect = Rectangle.Empty; private Color arrowColor = Color.Empty; private Color defaultArrowColor = Color.Empty; private ArrowDirection arrowDirection = ArrowDirection.Down; private ToolStripItem item = null; private bool arrowColorChanged = false; /// public ToolStripArrowRenderEventArgs(Graphics g, ToolStripItem toolStripItem, Rectangle arrowRectangle, Color arrowColor, ArrowDirection arrowDirection) { this.item = toolStripItem; this.graphics = g; this.arrowRect = arrowRectangle; this.defaultArrowColor = arrowColor; this.arrowDirection = arrowDirection; } /// public Rectangle ArrowRectangle { get { return arrowRect; } set { arrowRect = value; } } /// public Color ArrowColor { get { if (arrowColorChanged) { return arrowColor; } return DefaultArrowColor; } set { arrowColor = value; arrowColorChanged = true; } } internal Color DefaultArrowColor { get { return defaultArrowColor; } set { defaultArrowColor = value; } } /// public ArrowDirection Direction { get { return arrowDirection; } set { arrowDirection = value; } } /// public Graphics Graphics { get { return graphics; } } /// public ToolStripItem Item { get { return item; } } } } // 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
- UnaryNode.cs
- Splitter.cs
- FixedFlowMap.cs
- ExpressionBuilder.cs
- EventHandlingScope.cs
- XMLSchema.cs
- DataSourceHelper.cs
- CompilationSection.cs
- TickBar.cs
- IDReferencePropertyAttribute.cs
- SettingsPropertyCollection.cs
- ISessionStateStore.cs
- Wrapper.cs
- KeyValuePair.cs
- PassportAuthentication.cs
- Int16.cs
- PreviewPageInfo.cs
- AttachmentCollection.cs
- _NestedMultipleAsyncResult.cs
- nulltextnavigator.cs
- EncodingFallbackAwareXmlTextWriter.cs
- SafeEventLogWriteHandle.cs
- XmlTextReaderImpl.cs
- ServiceOperationInvoker.cs
- BitmapEffectOutputConnector.cs
- RightsManagementErrorHandler.cs
- ConfigurationValidatorAttribute.cs
- DetailsViewPagerRow.cs
- OledbConnectionStringbuilder.cs
- cookiecollection.cs
- ConnectionStringSettingsCollection.cs
- XamlRtfConverter.cs
- FixedFindEngine.cs
- ServiceHttpHandlerFactory.cs
- MethodBody.cs
- securestring.cs
- BaseTemplateParser.cs
- PathNode.cs
- WebPartRestoreVerb.cs
- WorkflowService.cs
- SystemInformation.cs
- Char.cs
- ColorConvertedBitmap.cs
- SessionParameter.cs
- SafeViewOfFileHandle.cs
- unitconverter.cs
- LogicalExpr.cs
- DurableServiceAttribute.cs
- DataRecordInternal.cs
- ScriptingWebServicesSectionGroup.cs
- EncryptedData.cs
- ErrorInfoXmlDocument.cs
- ObjectItemAttributeAssemblyLoader.cs
- CodeMethodInvokeExpression.cs
- HttpContext.cs
- Base64Encoding.cs
- TableStyle.cs
- RegexNode.cs
- ButtonField.cs
- AnnotationStore.cs
- DesignerSerializationVisibilityAttribute.cs
- Publisher.cs
- FunctionGenerator.cs
- EventBookmark.cs
- SrgsOneOf.cs
- TableHeaderCell.cs
- UrlPath.cs
- Win32Interop.cs
- SqlDataSourceCommandEventArgs.cs
- CompositeActivityCodeGenerator.cs
- ControllableStoryboardAction.cs
- InternalsVisibleToAttribute.cs
- LinkConverter.cs
- TreeChangeInfo.cs
- MemberAccessException.cs
- ControlAdapter.cs
- InfoCardCryptoHelper.cs
- Axis.cs
- Visual3DCollection.cs
- DataSourceUtil.cs
- AnnotationHelper.cs
- SrgsOneOf.cs
- ProviderUtil.cs
- XmlSchemaChoice.cs
- WebControlsSection.cs
- ExpressionPrinter.cs
- UnauthorizedWebPart.cs
- DesignBindingEditor.cs
- ReferencedAssemblyResolver.cs
- FormViewModeEventArgs.cs
- PrintingPermission.cs
- HttpProxyCredentialType.cs
- SecuritySessionServerSettings.cs
- Emitter.cs
- OLEDB_Enum.cs
- DefaultClaimSet.cs
- EntityTransaction.cs
- AutoResetEvent.cs
- SerializationFieldInfo.cs
- Tile.cs