Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- InputScopeConverter.cs
- TileBrush.cs
- ArgIterator.cs
- PageAsyncTask.cs
- AppliedDeviceFiltersDialog.cs
- ConfigurationPropertyAttribute.cs
- DataGridComponentEditor.cs
- TextSchema.cs
- TextRunTypographyProperties.cs
- CompositeActivityValidator.cs
- BypassElement.cs
- OleDbParameterCollection.cs
- ListViewAutomationPeer.cs
- CssClassPropertyAttribute.cs
- LingerOption.cs
- TableRowCollection.cs
- CodeObject.cs
- WebPartsPersonalization.cs
- ThemeConfigurationDialog.cs
- IndexedEnumerable.cs
- DataColumnCollection.cs
- UrlMappingCollection.cs
- IndentedWriter.cs
- HelpEvent.cs
- RtfFormatStack.cs
- StructuredType.cs
- XmlComplianceUtil.cs
- Configuration.cs
- XPathNodeIterator.cs
- TextBox.cs
- PtsHelper.cs
- ConfigurationStrings.cs
- CallSiteOps.cs
- CommandField.cs
- ComplexTypeEmitter.cs
- IgnoreSectionHandler.cs
- TypeBuilder.cs
- XmlSchemaExternal.cs
- SystemException.cs
- GCHandleCookieTable.cs
- Properties.cs
- columnmapkeybuilder.cs
- DragCompletedEventArgs.cs
- FixedLineResult.cs
- ProcessInputEventArgs.cs
- ResourceAttributes.cs
- ItemAutomationPeer.cs
- DesignerResources.cs
- WindowsFormsHostAutomationPeer.cs
- MatrixIndependentAnimationStorage.cs
- AndCondition.cs
- nulltextcontainer.cs
- MetadataException.cs
- SoapAttributes.cs
- DataServiceHost.cs
- Brushes.cs
- ComAdminInterfaces.cs
- SQLDouble.cs
- SqlRowUpdatedEvent.cs
- EnumCodeDomSerializer.cs
- AuthenticodeSignatureInformation.cs
- DataSet.cs
- XPathAncestorQuery.cs
- Helpers.cs
- XmlSchemaComplexType.cs
- Fonts.cs
- JavaScriptString.cs
- DBConcurrencyException.cs
- ListViewTableRow.cs
- InkPresenter.cs
- MethodImplAttribute.cs
- ProgressiveCrcCalculatingStream.cs
- DbParameterCollection.cs
- ValidateNames.cs
- TimeSpanSecondsConverter.cs
- SimpleWebHandlerParser.cs
- VSDExceptions.cs
- RequestDescription.cs
- ClientSettingsSection.cs
- DataGridViewCellParsingEventArgs.cs
- SQLInt32.cs
- WorkflowApplicationException.cs
- AssemblyName.cs
- VariableQuery.cs
- SlotInfo.cs
- RowParagraph.cs
- GeneralEndpointIdentity.cs
- TemplatePropertyEntry.cs
- Interlocked.cs
- LineServicesCallbacks.cs
- WrapPanel.cs
- TransformConverter.cs
- BinaryMethodMessage.cs
- ObjectPersistData.cs
- XmlUtf8RawTextWriter.cs
- SqlNodeAnnotation.cs
- SmiMetaDataProperty.cs
- XsltQilFactory.cs
- Vector3D.cs
- ColumnMapCopier.cs