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
- DynamicPropertyHolder.cs
- HttpDigestClientElement.cs
- objectquery_tresulttype.cs
- WSDualHttpBinding.cs
- ArrayConverter.cs
- ViewStateModeByIdAttribute.cs
- EditableTreeList.cs
- EntityDataSourceQueryBuilder.cs
- ImageIndexEditor.cs
- XmlSerializerVersionAttribute.cs
- _ScatterGatherBuffers.cs
- VectorCollectionConverter.cs
- ProxyHwnd.cs
- LinqDataSourceValidationException.cs
- PrintPreviewControl.cs
- StylusPointProperties.cs
- SectionInput.cs
- WebCategoryAttribute.cs
- ADConnectionHelper.cs
- TextEmbeddedObject.cs
- AnimatedTypeHelpers.cs
- BufferedGraphics.cs
- Serializer.cs
- IWorkflowDebuggerService.cs
- TimelineGroup.cs
- Normalization.cs
- TableCell.cs
- DeclarativeCatalogPart.cs
- WebExceptionStatus.cs
- CodeExpressionStatement.cs
- HtmlShimManager.cs
- ObjectNavigationPropertyMapping.cs
- ScaleTransform.cs
- TypeConverterAttribute.cs
- WebPageTraceListener.cs
- BrowserCapabilitiesCodeGenerator.cs
- SwitchElementsCollection.cs
- IgnoreSection.cs
- ClientTargetCollection.cs
- StandardToolWindows.cs
- DocumentApplicationJournalEntry.cs
- XmlTypeAttribute.cs
- IntellisenseTextBox.cs
- DetailsViewPageEventArgs.cs
- ListItem.cs
- AttachmentCollection.cs
- IItemContainerGenerator.cs
- PeerToPeerException.cs
- CopyNamespacesAction.cs
- StorageMappingItemCollection.cs
- EntityModelBuildProvider.cs
- NetworkInterface.cs
- MessageFault.cs
- CacheMemory.cs
- SrgsRule.cs
- MappingException.cs
- RotateTransform.cs
- FocusTracker.cs
- ListViewInsertionMark.cs
- GetImportFileNameRequest.cs
- HttpInputStream.cs
- SqlDataSourceCache.cs
- SmiEventSink_DeferedProcessing.cs
- ContextStaticAttribute.cs
- DataContractSerializer.cs
- ArgumentOutOfRangeException.cs
- FormsAuthentication.cs
- ArrayElementGridEntry.cs
- PageVisual.cs
- ToolStripGripRenderEventArgs.cs
- MetadataArtifactLoader.cs
- ImmComposition.cs
- OneWayChannelListener.cs
- NameObjectCollectionBase.cs
- _NetworkingPerfCounters.cs
- CryptoHelper.cs
- Verify.cs
- ServiceContractViewControl.cs
- FrameworkElementFactory.cs
- PathNode.cs
- FlowThrottle.cs
- HtmlInputReset.cs
- XmlSchemaSequence.cs
- ModelVisual3D.cs
- SettingsSavedEventArgs.cs
- MessageEncodingBindingElementImporter.cs
- HtmlInputText.cs
- AttributeEmitter.cs
- TriState.cs
- WebUtil.cs
- ExecutedRoutedEventArgs.cs
- ControlValuePropertyAttribute.cs
- LoginUtil.cs
- QueryStringParameter.cs
- CodeExporter.cs
- StickyNoteHelper.cs
- NameValuePermission.cs
- Debug.cs
- CodeSubDirectoriesCollection.cs
- MetaTable.cs