Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripPanelRenderEventArgs.cs / 1 / ToolStripPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripPanelRenderEventArgs /// public class ToolStripPanelRenderEventArgs : EventArgs { private ToolStripPanel toolStripPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripPanelRenderEventArgs(Graphics g, ToolStripPanel toolStripPanel) { this.toolStripPanel = toolStripPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// Represents which toolStrip was affected by the click /// public ToolStripPanel ToolStripPanel { get { return toolStripPanel; } } public bool Handled { get { return handled; } set { handled = value; } } } } // 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; ////// ToolStripPanelRenderEventArgs /// public class ToolStripPanelRenderEventArgs : EventArgs { private ToolStripPanel toolStripPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripPanelRenderEventArgs(Graphics g, ToolStripPanel toolStripPanel) { this.toolStripPanel = toolStripPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// Represents which toolStrip was affected by the click /// public ToolStripPanel ToolStripPanel { get { return toolStripPanel; } } public bool Handled { get { return handled; } set { handled = value; } } } } // 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
- TargetPerspective.cs
- DataGridViewCellStyleEditor.cs
- SpecialTypeDataContract.cs
- HMAC.cs
- AccessedThroughPropertyAttribute.cs
- RegistryKey.cs
- EncryptedPackageFilter.cs
- Helpers.cs
- ScriptBehaviorDescriptor.cs
- Int64Animation.cs
- ResolveMatchesMessage11.cs
- TextEditorTables.cs
- EncoderExceptionFallback.cs
- ContextMenu.cs
- EntityContainerEmitter.cs
- TableLayoutPanelResizeGlyph.cs
- ConsoleCancelEventArgs.cs
- WorkflowPersistenceContext.cs
- PhysicalFontFamily.cs
- ChangeBlockUndoRecord.cs
- ImageBrush.cs
- ExtractedStateEntry.cs
- BooleanToVisibilityConverter.cs
- EdmProviderManifest.cs
- NavigationProgressEventArgs.cs
- StrokeSerializer.cs
- SafeUserTokenHandle.cs
- ConfigurationException.cs
- TriggerBase.cs
- HandleDictionary.cs
- CheckoutException.cs
- EventManager.cs
- SelectionProcessor.cs
- HttpProcessUtility.cs
- DesignTimeTemplateParser.cs
- HashMembershipCondition.cs
- ExtractorMetadata.cs
- HandledEventArgs.cs
- ThemeInfoAttribute.cs
- TypefaceMetricsCache.cs
- TextTreeRootTextBlock.cs
- DoubleLinkListEnumerator.cs
- SchemaObjectWriter.cs
- MembershipSection.cs
- ListBox.cs
- TableSectionStyle.cs
- SessionSwitchEventArgs.cs
- HighlightVisual.cs
- DynamicResourceExtension.cs
- SerializerDescriptor.cs
- MappingMetadataHelper.cs
- Token.cs
- TextTreeUndoUnit.cs
- EdmMember.cs
- DataGridState.cs
- BooleanProjectedSlot.cs
- ConfigXmlWhitespace.cs
- Icon.cs
- NameTable.cs
- ElementProxy.cs
- Lasso.cs
- TreeBuilder.cs
- ActiveXHost.cs
- QilBinary.cs
- Executor.cs
- SpeakCompletedEventArgs.cs
- TreeNodeConverter.cs
- WebPartUtil.cs
- NamespaceQuery.cs
- DBBindings.cs
- UnionCodeGroup.cs
- ListBoxChrome.cs
- Emitter.cs
- TextSelectionHelper.cs
- CharacterMetrics.cs
- MediaSystem.cs
- ReachIDocumentPaginatorSerializer.cs
- WebPartHelpVerb.cs
- LineGeometry.cs
- QueryExpr.cs
- ConsumerConnectionPoint.cs
- ParamArrayAttribute.cs
- WeakEventTable.cs
- VersionPair.cs
- RadioButton.cs
- FixUpCollection.cs
- ImageSourceValueSerializer.cs
- BitmapEffectGeneralTransform.cs
- ComboBox.cs
- SerializationInfoEnumerator.cs
- SignedPkcs7.cs
- HttpStaticObjectsCollectionBase.cs
- ILGenerator.cs
- RSAOAEPKeyExchangeFormatter.cs
- CSharpCodeProvider.cs
- MaterialGroup.cs
- CodeGotoStatement.cs
- DeclarativeCatalogPart.cs
- SRGSCompiler.cs
- WebServiceReceiveDesigner.cs