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
- AmbientProperties.cs
- NamespaceList.cs
- RenderDataDrawingContext.cs
- DataObject.cs
- TextSpan.cs
- PerfService.cs
- _BufferOffsetSize.cs
- ParseElementCollection.cs
- SamlSubjectStatement.cs
- BasicHttpSecurityMode.cs
- NonClientArea.cs
- peersecurityelement.cs
- BeginStoryboard.cs
- XPathException.cs
- COM2FontConverter.cs
- TextClipboardData.cs
- EdgeProfileValidation.cs
- CharacterMetrics.cs
- UiaCoreApi.cs
- ToolStripDropDownClosedEventArgs.cs
- CacheVirtualItemsEvent.cs
- ImageDrawing.cs
- WindowPatternIdentifiers.cs
- LineGeometry.cs
- DataControlLinkButton.cs
- ImageDrawing.cs
- FixedStringLookup.cs
- EdmToObjectNamespaceMap.cs
- ViewStateModeByIdAttribute.cs
- DocumentGridPage.cs
- ManagementEventArgs.cs
- FunctionImportMapping.cs
- ProcessHostFactoryHelper.cs
- Function.cs
- ImageMetadata.cs
- Win32MouseDevice.cs
- ChildTable.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Funcletizer.cs
- DataServiceKeyAttribute.cs
- RotateTransform.cs
- BindingContext.cs
- ColumnMapVisitor.cs
- BlockUIContainer.cs
- xmlfixedPageInfo.cs
- CompModHelpers.cs
- DeflateStreamAsyncResult.cs
- FixedLineResult.cs
- X509Extension.cs
- MarshalDirectiveException.cs
- SchemaMapping.cs
- ProfileManager.cs
- SwitchAttribute.cs
- HMACMD5.cs
- AlphaSortedEnumConverter.cs
- MessageBox.cs
- WindowPattern.cs
- Label.cs
- Ref.cs
- IteratorDescriptor.cs
- DocumentPage.cs
- FormViewRow.cs
- TextBoxAutomationPeer.cs
- ElementNotEnabledException.cs
- GroupByExpressionRewriter.cs
- XmlDocumentSurrogate.cs
- TraceInternal.cs
- NavigationHelper.cs
- ScriptResourceDefinition.cs
- DbConnectionStringCommon.cs
- documentsequencetextcontainer.cs
- ProfilePropertyMetadata.cs
- Point.cs
- DataRow.cs
- IntegerValidator.cs
- WebPartMinimizeVerb.cs
- RequestChannelBinder.cs
- CommonGetThemePartSize.cs
- Stacktrace.cs
- SqlVisitor.cs
- TextReader.cs
- MLangCodePageEncoding.cs
- DataViewSetting.cs
- FillErrorEventArgs.cs
- ConfigurationManagerInternal.cs
- DataGridViewHitTestInfo.cs
- BuildProvider.cs
- DecoderExceptionFallback.cs
- ListViewItem.cs
- ErrorHandler.cs
- TableCellCollection.cs
- NonSerializedAttribute.cs
- PropertyPushdownHelper.cs
- Section.cs
- PrintController.cs
- KeySpline.cs
- RenderContext.cs
- DeclarationUpdate.cs
- TableRow.cs
- TextEditorContextMenu.cs