[Quantproject-developers] QuantDownloader/Downloader/Validate ValidateForm.cs,1.1,1.2
Brought to you by:
glauco_1
|
From: <gla...@us...> - 2003-12-16 15:46:21
|
Update of /cvsroot/quantproject/QuantDownloader/Downloader/Validate
In directory sc8-pr-cvs1:/tmp/cvs-serv18834/Downloader/Validate
Modified Files:
ValidateForm.cs
Log Message:
Added the Suspicious Ratio text box
Index: ValidateForm.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantDownloader/Downloader/Validate/ValidateForm.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ValidateForm.cs 9 Dec 2003 22:16:33 -0000 1.1
--- ValidateForm.cs 16 Dec 2003 15:46:17 -0000 1.2
***************
*** 24,27 ****
--- 24,29 ----
private System.Windows.Forms.TextBox textBoxTickerIsLike;
private System.Windows.Forms.Button buttonCommitAndRefresh;
+ private System.Windows.Forms.TextBox textBoxSuspiciousRatio;
+ private System.Windows.Forms.Label labelSuspiciousRatio;
/// <summary>
/// Required designer variable.
***************
*** 69,72 ****
--- 71,76 ----
this.dataGrid1 = new System.Windows.Forms.DataGrid();
this.buttonCommitAndRefresh = new System.Windows.Forms.Button();
+ this.textBoxSuspiciousRatio = new System.Windows.Forms.TextBox();
+ this.labelSuspiciousRatio = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
this.SuspendLayout();
***************
*** 90,94 ****
// buttonGo
//
! this.buttonGo.Location = new System.Drawing.Point(368, 16);
this.buttonGo.Name = "buttonGo";
this.buttonGo.TabIndex = 2;
--- 94,98 ----
// buttonGo
//
! this.buttonGo.Location = new System.Drawing.Point(512, 16);
this.buttonGo.Name = "buttonGo";
this.buttonGo.TabIndex = 2;
***************
*** 219,222 ****
--- 223,242 ----
this.buttonCommitAndRefresh.Click += new System.EventHandler(this.buttonCommitAndRefresh_Click);
//
+ // textBoxSuspiciousRatio
+ //
+ this.textBoxSuspiciousRatio.Location = new System.Drawing.Point(344, 16);
+ this.textBoxSuspiciousRatio.Name = "textBoxSuspiciousRatio";
+ this.textBoxSuspiciousRatio.TabIndex = 5;
+ this.textBoxSuspiciousRatio.Text = "5";
+ //
+ // labelSuspiciousRatio
+ //
+ this.labelSuspiciousRatio.Location = new System.Drawing.Point(224, 16);
+ this.labelSuspiciousRatio.Name = "labelSuspiciousRatio";
+ this.labelSuspiciousRatio.Size = new System.Drawing.Size(120, 16);
+ this.labelSuspiciousRatio.TabIndex = 6;
+ this.labelSuspiciousRatio.Text = "Suspicious ratio:";
+ this.labelSuspiciousRatio.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
// ValidateForm
//
***************
*** 224,227 ****
--- 244,249 ----
this.ClientSize = new System.Drawing.Size(720, 341);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
+ this.labelSuspiciousRatio,
+ this.textBoxSuspiciousRatio,
this.buttonCommitAndRefresh,
this.dataGrid1,
***************
*** 241,245 ****
this.validateDataTable = new ValidateDataTable();
this.dataGrid1.DataSource = validateDataTable;
! validateDataTable.AddRows( textBoxTickerIsLike.Text );
}
--- 263,267 ----
this.validateDataTable = new ValidateDataTable();
this.dataGrid1.DataSource = validateDataTable;
! validateDataTable.AddRows( textBoxTickerIsLike.Text , Convert.ToDouble( this.textBoxSuspiciousRatio.Text ) );
}
|