Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeNativeMethodsCLR.cs
- WsatAdminException.cs
- IdnMapping.cs
- BooleanSwitch.cs
- DataRowCollection.cs
- XPathParser.cs
- DockEditor.cs
- TargetParameterCountException.cs
- IdentitySection.cs
- AdjustableArrowCap.cs
- ListenerElementsCollection.cs
- ConditionalAttribute.cs
- GenericEnumConverter.cs
- XmlCodeExporter.cs
- VisualTreeUtils.cs
- SecuritySessionFilter.cs
- ConsumerConnectionPointCollection.cs
- ControlBuilder.cs
- DocumentApplication.cs
- SvcMapFile.cs
- FontStyleConverter.cs
- PixelShader.cs
- FastEncoderWindow.cs
- ProfileProvider.cs
- ViewStateModeByIdAttribute.cs
- DefaultPropertiesToSend.cs
- BitmapSourceSafeMILHandle.cs
- DynamicILGenerator.cs
- MatrixCamera.cs
- Rules.cs
- MouseDevice.cs
- PathFigureCollectionConverter.cs
- GetPageNumberCompletedEventArgs.cs
- GlobalizationAssembly.cs
- CheckBox.cs
- WeakReference.cs
- DataControlPagerLinkButton.cs
- CacheDependency.cs
- DocumentViewerBase.cs
- ExpressionLink.cs
- EventProvider.cs
- DBSqlParserTableCollection.cs
- FontStretch.cs
- ZipIOBlockManager.cs
- XmlSerializableServices.cs
- DodSequenceMerge.cs
- FixedHighlight.cs
- NavigationProperty.cs
- Tile.cs
- ObjectParameterCollection.cs
- Icon.cs
- RealizationDrawingContextWalker.cs
- ModelProperty.cs
- BuildManager.cs
- CodePageUtils.cs
- XmlToDatasetMap.cs
- DataGridViewColumnCollection.cs
- PathData.cs
- ControlBuilderAttribute.cs
- EventBindingService.cs
- RoutedEventConverter.cs
- EDesignUtil.cs
- ProjectionCamera.cs
- Helpers.cs
- ApplicationGesture.cs
- SiteMapPathDesigner.cs
- ExpressionNormalizer.cs
- ISSmlParser.cs
- WebPartEditorOkVerb.cs
- Bitmap.cs
- DPTypeDescriptorContext.cs
- MergeFilterQuery.cs
- OpenFileDialog.cs
- SqlDuplicator.cs
- IndependentAnimationStorage.cs
- IOException.cs
- ToolStripPanelRow.cs
- BulletedList.cs
- TokenBasedSetEnumerator.cs
- CommandLineParser.cs
- SqlCaseSimplifier.cs
- ConstNode.cs
- InternalCache.cs
- WindowsListViewItemCheckBox.cs
- CFGGrammar.cs
- StackSpiller.Temps.cs
- AlphabetConverter.cs
- MetadataWorkspace.cs
- HyperLinkDesigner.cs
- SystemColorTracker.cs
- GZipDecoder.cs
- CngAlgorithmGroup.cs
- ControlParameter.cs
- AssociationSet.cs
- SafeTimerHandle.cs
- XPathPatternBuilder.cs
- CompensationDesigner.cs
- DataGridViewRowsAddedEventArgs.cs
- DateTimeOffset.cs
- SoapEnumAttribute.cs