Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- MultipleViewPatternIdentifiers.cs
- UnmanagedMarshal.cs
- cryptoapiTransform.cs
- UrlPropertyAttribute.cs
- HttpCookiesSection.cs
- handlecollector.cs
- RoleGroup.cs
- RepeaterDataBoundAdapter.cs
- WebContext.cs
- ToolStripMenuItem.cs
- DateTimeFormatInfo.cs
- HttpBrowserCapabilitiesWrapper.cs
- InstanceKeyCompleteException.cs
- BitSet.cs
- ListView.cs
- ApplicationGesture.cs
- BaseCollection.cs
- SelectionRangeConverter.cs
- ScopelessEnumAttribute.cs
- TimeoutConverter.cs
- EntityDataSourceSelectedEventArgs.cs
- RemoteX509Token.cs
- ContractMapping.cs
- SqlLiftIndependentRowExpressions.cs
- xdrvalidator.cs
- ContractsBCL.cs
- HttpApplicationFactory.cs
- _TLSstream.cs
- OdbcParameterCollection.cs
- DispatchWrapper.cs
- XPathDocument.cs
- OleDbPropertySetGuid.cs
- IgnoreDeviceFilterElementCollection.cs
- ConfigurationStrings.cs
- Style.cs
- MetafileHeaderEmf.cs
- SvcFileManager.cs
- XhtmlBasicPageAdapter.cs
- BitmapDecoder.cs
- EntityDataSourceContextCreatingEventArgs.cs
- Int16Storage.cs
- TimeSpanSecondsConverter.cs
- RedistVersionInfo.cs
- PerformanceCounterPermission.cs
- XPathChildIterator.cs
- XmlMemberMapping.cs
- ScriptingProfileServiceSection.cs
- TemplatedAdorner.cs
- DPTypeDescriptorContext.cs
- ExpandCollapseProviderWrapper.cs
- BulletedList.cs
- References.cs
- TextParentUndoUnit.cs
- StylusPoint.cs
- DateTimeOffset.cs
- TextSchema.cs
- RenameRuleObjectDialog.cs
- AliasedSlot.cs
- SecurityAttributeGenerationHelper.cs
- TransformerTypeCollection.cs
- ComboBoxItem.cs
- PathFigure.cs
- HighlightComponent.cs
- Internal.cs
- DbExpressionVisitor_TResultType.cs
- WindowsStartMenu.cs
- ParseNumbers.cs
- FilteredDataSetHelper.cs
- BitVec.cs
- TransactionsSectionGroup.cs
- ObjectIDGenerator.cs
- HtmlInputHidden.cs
- MemoryPressure.cs
- FilteredXmlReader.cs
- Internal.cs
- CmsUtils.cs
- FixedBufferAttribute.cs
- StylusPointPropertyInfoDefaults.cs
- GrammarBuilderRuleRef.cs
- DataGridViewDataErrorEventArgs.cs
- ProcessModuleCollection.cs
- Rect.cs
- LayoutEditorPart.cs
- Encoding.cs
- Transform.cs
- coordinatorscratchpad.cs
- DataTableTypeConverter.cs
- PolicyException.cs
- DateTimeFormatInfo.cs
- SamlAdvice.cs
- MessageDirection.cs
- BindingManagerDataErrorEventArgs.cs
- StructuredProperty.cs
- HotCommands.cs
- SchemaMerger.cs
- Helpers.cs
- SamlSubject.cs
- CuspData.cs
- DataSourceControlBuilder.cs
- FixedSOMFixedBlock.cs