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
- HttpModuleAction.cs
- IPEndPoint.cs
- XmlSchemaAnnotation.cs
- TransactionFlowProperty.cs
- HexParser.cs
- WebResponse.cs
- DictionaryEntry.cs
- SourceFileBuildProvider.cs
- DatePickerAutomationPeer.cs
- SQLStringStorage.cs
- ListBoxAutomationPeer.cs
- DoubleLink.cs
- cache.cs
- BamlResourceDeserializer.cs
- RouteValueDictionary.cs
- FlowLayoutSettings.cs
- LineBreak.cs
- Rights.cs
- HtmlTableRow.cs
- PartialList.cs
- ParameterToken.cs
- TemplateControl.cs
- CodeValidator.cs
- RepeatButtonAutomationPeer.cs
- RoleBoolean.cs
- OleDbEnumerator.cs
- SuppressMergeCheckAttribute.cs
- CodePrimitiveExpression.cs
- RecordBuilder.cs
- StandardToolWindows.cs
- Expr.cs
- WizardStepBase.cs
- ButtonStandardAdapter.cs
- DataPagerCommandEventArgs.cs
- IERequestCache.cs
- SortQuery.cs
- XsltQilFactory.cs
- BaseDataList.cs
- FacetValues.cs
- ResXResourceWriter.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- objectresult_tresulttype.cs
- XmlSchemaAnyAttribute.cs
- ObjectMemberMapping.cs
- DataReceivedEventArgs.cs
- StandardToolWindows.cs
- Simplifier.cs
- GridViewSortEventArgs.cs
- DragDrop.cs
- XmlDownloadManager.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- PointLight.cs
- SafeFileMappingHandle.cs
- Serializer.cs
- FtpWebRequest.cs
- TemplateAction.cs
- Tablet.cs
- XamlFilter.cs
- MetadataSource.cs
- IPipelineRuntime.cs
- ADRoleFactory.cs
- DispatcherTimer.cs
- DateTimeConstantAttribute.cs
- DataGridViewImageCell.cs
- ColumnTypeConverter.cs
- _KerberosClient.cs
- SafeEventLogWriteHandle.cs
- StoreAnnotationsMap.cs
- SmiEventStream.cs
- RepeatBehaviorConverter.cs
- AnnotationComponentManager.cs
- DigestTraceRecordHelper.cs
- SplitContainer.cs
- FieldMetadata.cs
- ContextStaticAttribute.cs
- DrawingBrush.cs
- PolicyLevel.cs
- FixedSOMPageElement.cs
- EmptyImpersonationContext.cs
- ButtonChrome.cs
- EventLogPropertySelector.cs
- EncoderReplacementFallback.cs
- XmlAttributeCollection.cs
- FontCollection.cs
- LoadedOrUnloadedOperation.cs
- PropertyReferenceExtension.cs
- UnicodeEncoding.cs
- Pointer.cs
- EventListenerClientSide.cs
- DynamicRendererThreadManager.cs
- Int16.cs
- ContextQuery.cs
- TypeConverterAttribute.cs
- BitmapDecoder.cs
- TextFindEngine.cs
- AbsoluteQuery.cs
- ComponentEditorPage.cs
- CaseInsensitiveComparer.cs
- PointKeyFrameCollection.cs
- ItemsControlAutomationPeer.cs