Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripItemRenderEventArgs.cs / 1 / ToolStripItemRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// public class ToolStripItemRenderEventArgs : EventArgs { private ToolStripItem item = null; private Graphics graphics = null; /// /// /// This class represents all the information to render the winbar /// public ToolStripItemRenderEventArgs(Graphics g, ToolStripItem item) { this.item = item; this.graphics = g; } ////// /// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// /// the item to draw /// public ToolStripItem Item { get { return item; } } ////// /// The toolstrip the item is currently parented to /// public ToolStrip ToolStrip { get { return item.ParentInternal; } } } } // 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
- CacheChildrenQuery.cs
- TableDetailsRow.cs
- SendActivityDesignerTheme.cs
- StoragePropertyMapping.cs
- XsdDuration.cs
- CompiledXpathExpr.cs
- GZipStream.cs
- TextDecorations.cs
- BulletedList.cs
- SplashScreen.cs
- CellConstant.cs
- Matrix.cs
- SecureUICommand.cs
- Assert.cs
- SocketException.cs
- rsa.cs
- SerialPinChanges.cs
- XsltConvert.cs
- _CommandStream.cs
- CharacterString.cs
- CheckBoxPopupAdapter.cs
- DoWorkEventArgs.cs
- ImageListUtils.cs
- CodeConstructor.cs
- ProfileElement.cs
- LinkClickEvent.cs
- OutputCache.cs
- XmlSchemaElement.cs
- WsdlBuildProvider.cs
- MsmqIntegrationProcessProtocolHandler.cs
- ReachFixedPageSerializerAsync.cs
- DirectoryInfo.cs
- SqlRowUpdatingEvent.cs
- WebPartZoneCollection.cs
- ToolStripMenuItemCodeDomSerializer.cs
- XmlSchemaGroup.cs
- SafeArrayRankMismatchException.cs
- DefaultTraceListener.cs
- CodeExpressionCollection.cs
- RNGCryptoServiceProvider.cs
- Int32Storage.cs
- UnsafeNativeMethods.cs
- CodeTypeDeclarationCollection.cs
- DataSourceDescriptorCollection.cs
- HtmlControlAdapter.cs
- ChooseAction.cs
- SessionStateItemCollection.cs
- RecipientInfo.cs
- SystemIcons.cs
- MiniCustomAttributeInfo.cs
- HandlerFactoryCache.cs
- Util.cs
- InputBinder.cs
- RectangleHotSpot.cs
- SQLBoolean.cs
- NumberSubstitution.cs
- ScalarConstant.cs
- UpDownEvent.cs
- RegexReplacement.cs
- TextMarkerSource.cs
- CounterSampleCalculator.cs
- XmlWriter.cs
- ToolboxItemImageConverter.cs
- DesignerCapabilities.cs
- HtmlAnchor.cs
- HostExecutionContextManager.cs
- xmlfixedPageInfo.cs
- ToolStripGripRenderEventArgs.cs
- SQLCharsStorage.cs
- SingleAnimationBase.cs
- DocumentPageView.cs
- Journaling.cs
- ReadOnlyTernaryTree.cs
- BasePropertyDescriptor.cs
- StringConverter.cs
- DataGridColumnCollection.cs
- RequestNavigateEventArgs.cs
- AddressAccessDeniedException.cs
- _MultipleConnectAsync.cs
- ContainerUtilities.cs
- DataControlExtensions.cs
- ExpressionVisitor.cs
- ResourceProviderFactory.cs
- TimeSpanValidatorAttribute.cs
- GetPageCompletedEventArgs.cs
- DataBoundControlDesigner.cs
- EventLogPermissionEntry.cs
- SystemIPAddressInformation.cs
- AutomationInteropProvider.cs
- ThreadInterruptedException.cs
- ResourcesGenerator.cs
- Globals.cs
- OracleCommandSet.cs
- WorkflowMarkupSerializationManager.cs
- PrintEvent.cs
- KnownBoxes.cs
- EnumerableCollectionView.cs
- RootContext.cs
- SpeechDetectedEventArgs.cs
- mediapermission.cs