Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / TableLayoutCellPaintEventArgs.cs / 1 / TableLayoutCellPaintEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Drawing.Design; using System.Globalization; using System.Windows.Forms.Layout; ////// /// This is the overrided PaintEventArgs for painting the cell of the table /// It contains additional information indicating the row/column of the cell /// as well as the bound of the cell /// public class TableLayoutCellPaintEventArgs : PaintEventArgs { private Rectangle bounds; private int row; private int column; ///public TableLayoutCellPaintEventArgs(Graphics g, Rectangle clipRectangle, Rectangle cellBounds, int column, int row) : base(g, clipRectangle) { this.bounds = cellBounds; this.row = row; this.column = column; } //the bounds of the cell /// public Rectangle CellBounds { get { return bounds; } } //the row index of the cell /// public int Row { get { return row; } } //the column index of the cell /// public int Column { get { return column; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Drawing.Design; using System.Globalization; using System.Windows.Forms.Layout; ////// /// This is the overrided PaintEventArgs for painting the cell of the table /// It contains additional information indicating the row/column of the cell /// as well as the bound of the cell /// public class TableLayoutCellPaintEventArgs : PaintEventArgs { private Rectangle bounds; private int row; private int column; ///public TableLayoutCellPaintEventArgs(Graphics g, Rectangle clipRectangle, Rectangle cellBounds, int column, int row) : base(g, clipRectangle) { this.bounds = cellBounds; this.row = row; this.column = column; } //the bounds of the cell /// public Rectangle CellBounds { get { return bounds; } } //the row index of the cell /// public int Row { get { return row; } } //the column index of the cell /// public int Column { get { return column; } } } } // 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
- EnumerableCollectionView.cs
- BinaryFormatterWriter.cs
- SqlWebEventProvider.cs
- WorkItem.cs
- PanelStyle.cs
- TileBrush.cs
- SectionVisual.cs
- SelectionPatternIdentifiers.cs
- QilFactory.cs
- DataGridAddNewRow.cs
- OutArgumentConverter.cs
- RunClient.cs
- FactoryRecord.cs
- LinqDataSourceSelectEventArgs.cs
- MonthChangedEventArgs.cs
- RestHandlerFactory.cs
- FormView.cs
- UserControlDesigner.cs
- ImpersonationContext.cs
- RichTextBoxConstants.cs
- OneOfElement.cs
- PointF.cs
- Directory.cs
- TextFormatter.cs
- GlyphRun.cs
- XmlSchemaSequence.cs
- objectresult_tresulttype.cs
- FixedSOMLineCollection.cs
- Preprocessor.cs
- SubMenuStyle.cs
- TableCell.cs
- ObjectQuery_EntitySqlExtensions.cs
- AppManager.cs
- DataService.cs
- ImageButton.cs
- SessionPageStateSection.cs
- IntPtr.cs
- Composition.cs
- AccessDataSource.cs
- ProcessProtocolHandler.cs
- TimeoutException.cs
- FileSystemEventArgs.cs
- MachineKeyConverter.cs
- HtmlInputHidden.cs
- CreateParams.cs
- ColumnHeader.cs
- ILGenerator.cs
- GZipDecoder.cs
- Pair.cs
- StreamGeometry.cs
- TypeDescriptionProviderAttribute.cs
- InkPresenter.cs
- TriState.cs
- TextSelectionHelper.cs
- HierarchicalDataTemplate.cs
- FolderBrowserDialog.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- FileAuthorizationModule.cs
- CategoryGridEntry.cs
- IgnoreFileBuildProvider.cs
- StrokeCollection.cs
- BigInt.cs
- CustomErrorCollection.cs
- Utility.cs
- PolyLineSegment.cs
- RuleSettingsCollection.cs
- DataControlField.cs
- QueuePropertyVariants.cs
- DataTableReaderListener.cs
- ChineseLunisolarCalendar.cs
- RuntimeConfig.cs
- DataFormats.cs
- ConfigXmlSignificantWhitespace.cs
- ExpressionBuilder.cs
- OracleParameterCollection.cs
- DiagnosticTraceRecords.cs
- BitmapEffectInput.cs
- ImageCollectionCodeDomSerializer.cs
- smtppermission.cs
- WizardDesigner.cs
- PresentationTraceSources.cs
- EmptyEnumerator.cs
- CommandExpr.cs
- DetailsViewInsertedEventArgs.cs
- XmlTextReaderImpl.cs
- ContextInformation.cs
- TextReader.cs
- ISFClipboardData.cs
- BitmapMetadataBlob.cs
- EntityTransaction.cs
- WebScriptEndpointElement.cs
- JsonGlobals.cs
- BuildProviderUtils.cs
- EntitySqlQueryState.cs
- Automation.cs
- InputReportEventArgs.cs
- sitestring.cs
- DbFunctionCommandTree.cs
- PeerNearMe.cs
- InputReportEventArgs.cs