Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1305376 / ToolStripContentPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // 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; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // 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
- BitmapEffectDrawingContextWalker.cs
- URLBuilder.cs
- IndependentlyAnimatedPropertyMetadata.cs
- TimeSpanOrInfiniteConverter.cs
- PromptEventArgs.cs
- CompositeScriptReference.cs
- TimeSpanConverter.cs
- DeflateEmulationStream.cs
- KeyFrames.cs
- WebControlToolBoxItem.cs
- ServiceManager.cs
- EventLogPermissionAttribute.cs
- QuerySettings.cs
- CollectionChangeEventArgs.cs
- ListViewGroupConverter.cs
- AttachedAnnotationChangedEventArgs.cs
- TrackBarRenderer.cs
- MaskedTextBox.cs
- AccessDataSourceDesigner.cs
- ImageCreator.cs
- CopyNodeSetAction.cs
- HybridObjectCache.cs
- TreeIterator.cs
- SqlDataSourceView.cs
- MouseDevice.cs
- ProtocolsConfigurationHandler.cs
- TemplateBamlRecordReader.cs
- VectorCollectionConverter.cs
- XPathNavigatorReader.cs
- TextDecorationUnitValidation.cs
- NoneExcludedImageIndexConverter.cs
- PropertyToken.cs
- TraceEventCache.cs
- ResourceCodeDomSerializer.cs
- ColumnBinding.cs
- TextControl.cs
- Number.cs
- CategoryState.cs
- NamespaceMapping.cs
- HebrewNumber.cs
- Int16Converter.cs
- RIPEMD160.cs
- ACE.cs
- ListViewItem.cs
- ISessionStateStore.cs
- CustomValidator.cs
- BufferModeSettings.cs
- TreeViewItem.cs
- FormatterServices.cs
- MSAAWinEventWrap.cs
- DataGridViewImageColumn.cs
- DrawingGroupDrawingContext.cs
- DataTable.cs
- PortCache.cs
- ExecutionContext.cs
- CompilationUnit.cs
- ParenthesizePropertyNameAttribute.cs
- RequestQueue.cs
- SoapFaultCodes.cs
- SecurityPermission.cs
- sortedlist.cs
- DesignTimeParseData.cs
- PrivacyNoticeElement.cs
- DataList.cs
- SimpleHandlerFactory.cs
- FileUtil.cs
- PeerApplicationLaunchInfo.cs
- DocumentPageTextView.cs
- DataListItemCollection.cs
- ButtonFieldBase.cs
- EntityDataSourceReferenceGroup.cs
- Attributes.cs
- EventListenerClientSide.cs
- SHA256.cs
- OracleConnectionString.cs
- StringUtil.cs
- ADMembershipUser.cs
- AddInStore.cs
- UmAlQuraCalendar.cs
- ListSourceHelper.cs
- RegexStringValidator.cs
- TextDecorationCollectionConverter.cs
- ToolStripPanelSelectionBehavior.cs
- XmlQueryRuntime.cs
- ConditionBrowserDialog.cs
- PKCS1MaskGenerationMethod.cs
- ImportContext.cs
- QueryOptionExpression.cs
- WindowsFormsHelpers.cs
- QualifierSet.cs
- connectionpool.cs
- PhotoPrintingIntent.cs
- BaseParagraph.cs
- WeakReferenceEnumerator.cs
- DataBoundControlAdapter.cs
- UniqueConstraint.cs
- TextServicesProperty.cs
- SymbolMethod.cs
- BuildManager.cs
- HttpStaticObjectsCollectionBase.cs