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
- SqlAliasesReferenced.cs
- DataGridViewButtonCell.cs
- RelationshipEnd.cs
- NonClientArea.cs
- ResourceDescriptionAttribute.cs
- LinqDataSourceContextEventArgs.cs
- ViewStateException.cs
- SmiMetaDataProperty.cs
- WebPartTransformerAttribute.cs
- PropertyPushdownHelper.cs
- DeclaredTypeValidatorAttribute.cs
- ChtmlFormAdapter.cs
- StringUtil.cs
- DataGridPageChangedEventArgs.cs
- unsafeIndexingFilterStream.cs
- MSAANativeProvider.cs
- PagesChangedEventArgs.cs
- Image.cs
- XmlArrayItemAttribute.cs
- SapiRecoContext.cs
- DataGridViewSelectedCellCollection.cs
- PreDigestedSignedInfo.cs
- NonSerializedAttribute.cs
- Token.cs
- Literal.cs
- WorkflowItemsPresenter.cs
- SemaphoreSlim.cs
- SessionIDManager.cs
- oledbmetadatacolumnnames.cs
- OracleConnectionFactory.cs
- NonClientArea.cs
- formatter.cs
- figurelength.cs
- LambdaCompiler.Unary.cs
- SchemaElementDecl.cs
- InternalBufferOverflowException.cs
- MultiView.cs
- PrePrepareMethodAttribute.cs
- CheckBoxPopupAdapter.cs
- ProfileSection.cs
- StatusBarDrawItemEvent.cs
- ToolZone.cs
- DesignerUtility.cs
- LinqDataSourceUpdateEventArgs.cs
- TrackBar.cs
- DigestTraceRecordHelper.cs
- EdmError.cs
- HitTestResult.cs
- XmlSchemaImport.cs
- EntityDataSourceSelectingEventArgs.cs
- HttpListener.cs
- VectorAnimation.cs
- UIPermission.cs
- HitTestDrawingContextWalker.cs
- GlyphRunDrawing.cs
- EDesignUtil.cs
- WebPartMovingEventArgs.cs
- ExpressionParser.cs
- CacheMemory.cs
- ExtendedProtectionPolicyTypeConverter.cs
- GetIndexBinder.cs
- ComboBoxAutomationPeer.cs
- updatecommandorderer.cs
- WorkerRequest.cs
- TraceListener.cs
- XPathPatternParser.cs
- PointLight.cs
- HttpRequestTraceRecord.cs
- precedingquery.cs
- ScriptControlDescriptor.cs
- COM2ExtendedBrowsingHandler.cs
- Util.cs
- webclient.cs
- SqlFacetAttribute.cs
- VisualStates.cs
- MaskedTextBox.cs
- OracleDataReader.cs
- StatusBarItemAutomationPeer.cs
- PageCodeDomTreeGenerator.cs
- HideDisabledControlAdapter.cs
- OleDbEnumerator.cs
- SqlClientWrapperSmiStreamChars.cs
- DataMember.cs
- MatcherBuilder.cs
- UserPersonalizationStateInfo.cs
- RangeValuePattern.cs
- HiddenField.cs
- WinInet.cs
- NodeLabelEditEvent.cs
- DesignerMetadata.cs
- MdiWindowListItemConverter.cs
- SrgsSubset.cs
- ImpersonateTokenRef.cs
- Profiler.cs
- DefaultPrintController.cs
- LookupNode.cs
- TextTreeDeleteContentUndoUnit.cs
- TrustManagerPromptUI.cs
- HashAlgorithm.cs
- HtmlInputButton.cs