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
- ScriptingScriptResourceHandlerSection.cs
- RawUIStateInputReport.cs
- EndpointDesigner.cs
- HMAC.cs
- AutoResizedEvent.cs
- CallId.cs
- DetailsViewInsertEventArgs.cs
- DataColumnMappingCollection.cs
- IListConverters.cs
- DbDataReader.cs
- MsmqEncryptionAlgorithm.cs
- ActiveXHost.cs
- SimpleHandlerFactory.cs
- UserPreferenceChangedEventArgs.cs
- BitmapFrame.cs
- TrackingServices.cs
- FunctionDetailsReader.cs
- CustomLineCap.cs
- NameValueFileSectionHandler.cs
- DbModificationClause.cs
- SqlDataSource.cs
- DeviceContext2.cs
- CanonicalFontFamilyReference.cs
- CompilerGlobalScopeAttribute.cs
- COM2ExtendedUITypeEditor.cs
- EdmSchemaError.cs
- ProcessModuleCollection.cs
- DataGridClipboardHelper.cs
- SlotInfo.cs
- ToolStripPanelRow.cs
- StringSource.cs
- ADMembershipUser.cs
- Rect3DValueSerializer.cs
- Evidence.cs
- XmlDeclaration.cs
- SqlFactory.cs
- NaturalLanguageHyphenator.cs
- ReceiveContext.cs
- SQLSingleStorage.cs
- Underline.cs
- ResourceReferenceExpressionConverter.cs
- InternalCache.cs
- XmlEncodedRawTextWriter.cs
- MergeEnumerator.cs
- OleDbDataAdapter.cs
- SamlAuthorityBinding.cs
- thaishape.cs
- RelOps.cs
- NodeInfo.cs
- ActivityCodeDomSerializationManager.cs
- HttpHandler.cs
- LoginName.cs
- ObservableDictionary.cs
- UnsafeNativeMethodsMilCoreApi.cs
- BufferBuilder.cs
- WeakRefEnumerator.cs
- ListViewDataItem.cs
- ObjectStateEntryDbDataRecord.cs
- HtmlHead.cs
- ToolStripSeparatorRenderEventArgs.cs
- SyndicationElementExtensionCollection.cs
- WindowsContainer.cs
- TransformPattern.cs
- TiffBitmapDecoder.cs
- BaseHashHelper.cs
- HostProtectionException.cs
- PeerSecurityHelpers.cs
- TableLayoutStyleCollection.cs
- ReadOnlyState.cs
- WeakHashtable.cs
- DispatchWrapper.cs
- HtmlElementCollection.cs
- HtmlInputImage.cs
- ErrorHandler.cs
- UnsupportedPolicyOptionsException.cs
- RequestResizeEvent.cs
- CryptoKeySecurity.cs
- HttpConfigurationSystem.cs
- TypographyProperties.cs
- ActivityExecutor.cs
- TimeStampChecker.cs
- ClickablePoint.cs
- WindowInteropHelper.cs
- EditorZoneBase.cs
- _DigestClient.cs
- AutoGeneratedField.cs
- AxWrapperGen.cs
- SrgsDocumentParser.cs
- AuthStoreRoleProvider.cs
- RequestBringIntoViewEventArgs.cs
- ObjectDataSourceView.cs
- ObjectItemLoadingSessionData.cs
- EditorZoneBase.cs
- ReadOnlyTernaryTree.cs
- MoveSizeWinEventHandler.cs
- ModuleBuilder.cs
- WrappingXamlSchemaContext.cs
- KeyInfo.cs
- StringSorter.cs
- SafeLibraryHandle.cs