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
- CellIdBoolean.cs
- TextTreePropertyUndoUnit.cs
- FontNamesConverter.cs
- Types.cs
- EncoderReplacementFallback.cs
- GridViewCommandEventArgs.cs
- RIPEMD160Managed.cs
- TextEditorParagraphs.cs
- CodeLabeledStatement.cs
- LineServicesCallbacks.cs
- DetailsViewUpdateEventArgs.cs
- WindowsMenu.cs
- WsdlWriter.cs
- SiteOfOriginContainer.cs
- FontSource.cs
- CriticalFinalizerObject.cs
- CompilationUtil.cs
- RelationshipNavigation.cs
- ConfigUtil.cs
- SimpleMailWebEventProvider.cs
- ReaderContextStackData.cs
- EditorZone.cs
- PkcsMisc.cs
- BatchParser.cs
- SmtpNtlmAuthenticationModule.cs
- OdbcConnectionStringbuilder.cs
- MessageDecoder.cs
- RoutingUtilities.cs
- ResXFileRef.cs
- RankException.cs
- AccessText.cs
- MonikerBuilder.cs
- DrawListViewColumnHeaderEventArgs.cs
- CultureInfo.cs
- AttachedPropertyBrowsableAttribute.cs
- HtmlControlPersistable.cs
- CodeCommentStatement.cs
- XmlNotation.cs
- CodeDirectoryCompiler.cs
- ChtmlTextWriter.cs
- HttpModule.cs
- ByteStream.cs
- MimeReflector.cs
- InfiniteTimeSpanConverter.cs
- HistoryEventArgs.cs
- GiveFeedbackEvent.cs
- FileVersion.cs
- ComponentDispatcher.cs
- assertwrapper.cs
- XmlKeywords.cs
- ZipIOExtraField.cs
- SqlDataSource.cs
- OdbcReferenceCollection.cs
- Renderer.cs
- LinqDataSourceDeleteEventArgs.cs
- HttpListenerException.cs
- RetrieveVirtualItemEventArgs.cs
- SemanticResolver.cs
- CngKeyBlobFormat.cs
- PixelFormats.cs
- XsdBuilder.cs
- Size3DValueSerializer.cs
- MD5Cng.cs
- UInt32Storage.cs
- SqlNotificationEventArgs.cs
- NamespaceList.cs
- TraceListener.cs
- SymmetricCryptoHandle.cs
- ColumnResult.cs
- ExpandSegmentCollection.cs
- SchemaNamespaceManager.cs
- LongTypeConverter.cs
- Renderer.cs
- login.cs
- Funcletizer.cs
- XPathExpr.cs
- TableRowCollection.cs
- TranslateTransform3D.cs
- InitializerFacet.cs
- MasterPageParser.cs
- BasicCellRelation.cs
- HijriCalendar.cs
- XslCompiledTransform.cs
- InheritedPropertyChangedEventArgs.cs
- StructureChangedEventArgs.cs
- BindingOperations.cs
- ListViewHitTestInfo.cs
- RegexWriter.cs
- DependencyObjectProvider.cs
- UserMapPath.cs
- SelectionProviderWrapper.cs
- ObjectDataSource.cs
- BitmapEffectInput.cs
- Switch.cs
- TextRangeBase.cs
- HierarchicalDataBoundControl.cs
- CodeTypeDelegate.cs
- ListViewTableRow.cs
- DataGridItem.cs
- MatrixValueSerializer.cs