[Quantproject-developers] QuantDownloader/Downloader/QuotesEditor ValidationTabPage.cs,NONE,1.1
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2004-03-21 17:00:25
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader/QuotesEditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2893 Added Files: ValidationTabPage.cs Log Message: TabPage for the QuotesEditor, containing a TabControl with a distinct tab for each kind of validation warning --- NEW FILE: ValidationTabPage.cs --- using System; using System.Windows.Forms; using QuantProject.Applications.Downloader.Validate; namespace QuantProject.Applications.Downloader { /// <summary> /// TabPage for the QuotesEditor, containing a TabControl with /// a distinct tab for each kind of validation warning /// </summary> public class ValidationTabPage : TabPage { private ValidateDataTable validateDataTable = new ValidateDataTable(); private string ticker; private double suspiciousRatio; public string Ticker { get { return this.ticker; } set { this.ticker = value; } } public double SuspiciousRatio { get { return this.suspiciousRatio; } set { this.suspiciousRatio = value; } } public ValidationTabPage() { this.Text = "Validation"; } protected override void OnParentChanged( EventArgs e ) { base.OnEnter( e ); this.validateDataTable.Rows.Clear(); this.validateDataTable.AddRows( this.ticker , this.suspiciousRatio ); } } } |