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
- TraceListeners.cs
- MsmqIntegrationChannelFactory.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- WebResourceAttribute.cs
- followingsibling.cs
- LabelDesigner.cs
- LocalValueEnumerator.cs
- AssemblyName.cs
- LicenseManager.cs
- RemoteWebConfigurationHostStream.cs
- TrustVersion.cs
- SevenBitStream.cs
- DurableInstance.cs
- ReferentialConstraint.cs
- BindingWorker.cs
- FixedTextPointer.cs
- TreeViewAutomationPeer.cs
- BoundField.cs
- SQLMoney.cs
- BrowserDefinitionCollection.cs
- ToggleButton.cs
- RuntimeCompatibilityAttribute.cs
- SystemFonts.cs
- HttpListenerContext.cs
- MachineKeySection.cs
- InternalReceiveMessage.cs
- AssemblyCacheEntry.cs
- SchemaNames.cs
- WebPartCancelEventArgs.cs
- VirtualizingPanel.cs
- InfoCardXmlSerializer.cs
- CustomAssemblyResolver.cs
- RichTextBox.cs
- Reference.cs
- DataObjectAttribute.cs
- EpmSyndicationContentSerializer.cs
- ObjectDataSourceMethodEventArgs.cs
- InvalidCastException.cs
- ByteStreamMessageEncodingElement.cs
- HuffCodec.cs
- GenericUI.cs
- CreatingCookieEventArgs.cs
- DataControlButton.cs
- Italic.cs
- ImageMapEventArgs.cs
- EnumerableRowCollection.cs
- ImpersonateTokenRef.cs
- ComboBox.cs
- WindowsSlider.cs
- CollectionConverter.cs
- TriggerBase.cs
- PersonalizationAdministration.cs
- NamedServiceModelExtensionCollectionElement.cs
- SecurityResources.cs
- HttpProcessUtility.cs
- SiteMapNodeCollection.cs
- StackSpiller.Generated.cs
- EditingMode.cs
- DataServiceRequestOfT.cs
- SqlRemoveConstantOrderBy.cs
- NonSerializedAttribute.cs
- ContactManager.cs
- CrossAppDomainChannel.cs
- bidPrivateBase.cs
- ProfileService.cs
- PriorityQueue.cs
- FixedPageStructure.cs
- BasicCellRelation.cs
- WindowInteractionStateTracker.cs
- DoubleAverageAggregationOperator.cs
- RegularExpressionValidator.cs
- TemplateLookupAction.cs
- ComNativeDescriptor.cs
- StringDictionaryWithComparer.cs
- TypePresenter.xaml.cs
- MethodToken.cs
- FontFamily.cs
- prefixendpointaddressmessagefilter.cs
- NodeLabelEditEvent.cs
- FontStretches.cs
- WindowsFormsLinkLabel.cs
- FixedSOMContainer.cs
- WindowInteractionStateTracker.cs
- BamlRecords.cs
- BaseValidator.cs
- ValidationErrorCollection.cs
- ViewBase.cs
- WindowsFont.cs
- MethodBuilder.cs
- BookmarkWorkItem.cs
- PersistenceProvider.cs
- SqlNodeTypeOperators.cs
- MessageQueueAccessControlEntry.cs
- AppliedDeviceFiltersEditor.cs
- FormViewInsertedEventArgs.cs
- ValueUtilsSmi.cs
- Debug.cs
- FieldBuilder.cs
- BaseTypeViewSchema.cs
- AtomEntry.cs