using System.Windows.Forms;
namespace Devintelligence
{
/// <summary>
/// ScrolledDataGrid.
/// </summary>
public class ScrolledDataGrid : DataGrid
{
public ScrolledDataGrid()
{
}
/// <summary>
/// scroll the grid to a particular row
/// </summary>
/// <param name="rowNumber"></param>
public void ScrollTo(int rowNumber)
{
if (this.DataSource != null)
{
GridVScrolled(this, new ScrollEventArgs(ScrollEventType.LargeIncrement, rowNumber));
}
}
}
}
This entry was posted on April 25th, 2005
and is filed under database, development.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response or Trackback from your own site.