Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- NamespaceList.cs
- Color.cs
- EpmCustomContentWriterNodeData.cs
- TextElement.cs
- GridViewCancelEditEventArgs.cs
- WebResponse.cs
- ProfileModule.cs
- SQLBinaryStorage.cs
- SortedList.cs
- Buffer.cs
- KeyProperty.cs
- MergeEnumerator.cs
- EntryIndex.cs
- MouseWheelEventArgs.cs
- DecimalStorage.cs
- SqlDependencyUtils.cs
- ComNativeDescriptor.cs
- PropertyToken.cs
- PromptBuilder.cs
- PtsHelper.cs
- LoginName.cs
- WebServiceEndpoint.cs
- LinearQuaternionKeyFrame.cs
- RegexWriter.cs
- RawStylusActions.cs
- Panel.cs
- GenerateTemporaryAssemblyTask.cs
- SafeHandles.cs
- Scene3D.cs
- ObjectResult.cs
- ToolStripDropDownItemDesigner.cs
- ResolveDuplexCD1AsyncResult.cs
- SqlWebEventProvider.cs
- MasterPageBuildProvider.cs
- XmlSchemaSequence.cs
- EmbossBitmapEffect.cs
- TextBoxAutomationPeer.cs
- BinaryFormatter.cs
- XmlSchemaObjectTable.cs
- UIElementParaClient.cs
- InvalidBodyAccessException.cs
- FieldBuilder.cs
- PartitionResolver.cs
- PropertyChange.cs
- AspProxy.cs
- IdentitySection.cs
- XslAstAnalyzer.cs
- FamilyMapCollection.cs
- XmlSchemaAttributeGroup.cs
- NetworkInformationException.cs
- Visitor.cs
- X509Certificate.cs
- DoubleAnimationUsingKeyFrames.cs
- ValidationSummaryDesigner.cs
- WindowsScrollBarBits.cs
- ButtonChrome.cs
- UpdateCommandGenerator.cs
- FixedSOMImage.cs
- ColorTransform.cs
- AttributeAction.cs
- ConfigurationSectionGroup.cs
- HttpListenerRequest.cs
- MenuItemStyleCollectionEditor.cs
- _RequestCacheProtocol.cs
- ProjectedSlot.cs
- LoginNameDesigner.cs
- DeclarativeCatalogPart.cs
- xdrvalidator.cs
- PropertyPathConverter.cs
- Compensation.cs
- Scheduling.cs
- GridViewSortEventArgs.cs
- OraclePermission.cs
- SqlDataReader.cs
- ObservableCollectionDefaultValueFactory.cs
- FileDialog.cs
- CaseInsensitiveHashCodeProvider.cs
- HostUtils.cs
- ListBox.cs
- DateTimeUtil.cs
- XmlSignificantWhitespace.cs
- PageTheme.cs
- DataGridViewCellStyleConverter.cs
- ServiceNameElement.cs
- CodeDefaultValueExpression.cs
- MediaTimeline.cs
- NoClickablePointException.cs
- SamlEvidence.cs
- LocalFileSettingsProvider.cs
- LinearKeyFrames.cs
- Encoder.cs
- Utils.cs
- QueryRewriter.cs
- RequestQueue.cs
- counter.cs
- TableLayoutCellPaintEventArgs.cs
- ReferenceSchema.cs
- ListBoxAutomationPeer.cs
- Int64Converter.cs
- DesignerSerializationOptionsAttribute.cs