Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1 / 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
- FaultReasonText.cs
- WorkflowQueue.cs
- ProtocolsConfigurationHandler.cs
- StdValidatorsAndConverters.cs
- Helpers.cs
- embossbitmapeffect.cs
- IteratorFilter.cs
- DocumentApplication.cs
- HijriCalendar.cs
- EncodingDataItem.cs
- ParentQuery.cs
- ComPersistableTypeElement.cs
- WsdlBuildProvider.cs
- HtmlHistory.cs
- EventProviderWriter.cs
- DataGridViewCellMouseEventArgs.cs
- Authorization.cs
- VersionedStream.cs
- Win32SafeHandles.cs
- IncrementalCompileAnalyzer.cs
- Hex.cs
- TypeConverterValueSerializer.cs
- DialogDivider.cs
- GridView.cs
- BaseDataListDesigner.cs
- ModulesEntry.cs
- FormattedText.cs
- FixedSchema.cs
- RegisteredHiddenField.cs
- DataSourceSelectArguments.cs
- MethodCallConverter.cs
- XmlSignatureManifest.cs
- BindingMAnagerBase.cs
- RepeaterItem.cs
- _OSSOCK.cs
- SortQuery.cs
- PostBackTrigger.cs
- URL.cs
- ObjectTypeMapping.cs
- FontResourceCache.cs
- BitmapEffectGeneralTransform.cs
- TimeSpanMinutesConverter.cs
- HotSpotCollection.cs
- XmlChildEnumerator.cs
- AnnotationComponentChooser.cs
- DataSourceHelper.cs
- SubtreeProcessor.cs
- TokenizerHelper.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- XmlDataSourceView.cs
- XsdValidatingReader.cs
- KeyValuePair.cs
- ThousandthOfEmRealPoints.cs
- AssemblyCache.cs
- HashMembershipCondition.cs
- MethodAccessException.cs
- SpellerError.cs
- EntityEntry.cs
- DataConnectionHelper.cs
- EllipticalNodeOperations.cs
- ObjectSet.cs
- PageBreakRecord.cs
- UserPreferenceChangingEventArgs.cs
- InternalCache.cs
- ProvidersHelper.cs
- WindowsScrollBar.cs
- IPHostEntry.cs
- RightsManagementInformation.cs
- datacache.cs
- DbTransaction.cs
- GlyphCache.cs
- Version.cs
- InheritablePropertyChangeInfo.cs
- XmlDataSourceView.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- CompareInfo.cs
- ZoneButton.cs
- MultiSelector.cs
- AutomationIdentifierGuids.cs
- WebControlAdapter.cs
- Empty.cs
- JsonGlobals.cs
- Hex.cs
- EventProviderWriter.cs
- SettingsPropertyValueCollection.cs
- TextParaLineResult.cs
- MailDefinition.cs
- MatrixCamera.cs
- ProjectedSlot.cs
- DetailsViewUpdateEventArgs.cs
- UpdatePanelControlTrigger.cs
- AtomicFile.cs
- MetadataImporterQuotas.cs
- XamlWriter.cs
- MetricEntry.cs
- NativeMethods.cs
- TextServicesProperty.cs
- VirtualizedItemPattern.cs
- TypeForwardedToAttribute.cs
- DropDownButton.cs