diff --git a/Million Buyer/MainForm.Designer.cs b/Million Buyer/MainForm.Designer.cs index af72285..8d7d7f0 100644 --- a/Million Buyer/MainForm.Designer.cs +++ b/Million Buyer/MainForm.Designer.cs @@ -68,6 +68,8 @@ this.RateData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.MoneyData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.lb_log = new System.Windows.Forms.ListBox(); + this.label10 = new System.Windows.Forms.Label(); + this.lb_StartDate = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tl_BuyList)).BeginInit(); @@ -153,6 +155,8 @@ // // groupBox2 // + this.groupBox2.Controls.Add(this.lb_StartDate); + this.groupBox2.Controls.Add(this.label10); this.groupBox2.Controls.Add(this.lb_TotalMoneyValue); this.groupBox2.Controls.Add(this.lb_TotalRate); this.groupBox2.Controls.Add(this.lb_BuyMarketCount); @@ -163,7 +167,7 @@ this.groupBox2.Controls.Add(this.label4); this.groupBox2.Location = new System.Drawing.Point(12, 169); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(362, 157); + this.groupBox2.Size = new System.Drawing.Size(362, 191); this.groupBox2.TabIndex = 6; this.groupBox2.TabStop = false; this.groupBox2.Text = "데이터 현황"; @@ -445,11 +449,28 @@ // this.lb_log.FormattingEnabled = true; this.lb_log.ItemHeight = 12; - this.lb_log.Location = new System.Drawing.Point(12, 342); + this.lb_log.Location = new System.Drawing.Point(12, 366); this.lb_log.Name = "lb_log"; - this.lb_log.Size = new System.Drawing.Size(362, 388); + this.lb_log.Size = new System.Drawing.Size(362, 364); this.lb_log.TabIndex = 16; // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(39, 161); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(57, 12); + this.label10.TabIndex = 8; + this.label10.Text = "시작 시간"; + // + // lb_StartDate + // + this.lb_StartDate.AutoSize = true; + this.lb_StartDate.Location = new System.Drawing.Point(102, 161); + this.lb_StartDate.Name = "lb_StartDate"; + this.lb_StartDate.Size = new System.Drawing.Size(0, 12); + this.lb_StartDate.TabIndex = 9; + // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -522,6 +543,8 @@ private DevExpress.XtraTreeList.Columns.TreeListColumn RateData; private DevExpress.XtraTreeList.Columns.TreeListColumn MoneyData; private System.Windows.Forms.ListBox lb_log; + private System.Windows.Forms.Label lb_StartDate; + private System.Windows.Forms.Label label10; } } diff --git a/Million Buyer/MainForm.cs b/Million Buyer/MainForm.cs index 2b2e5a3..dbb9945 100644 --- a/Million Buyer/MainForm.cs +++ b/Million Buyer/MainForm.cs @@ -194,7 +194,13 @@ namespace Million_Buyer RealtimeDataSettingManager realTimeMsg = null; var standardTime = DateTime.Now; - if(RealTimeFlag) + + this.Invoke(new Action(delegate () + { + lb_StartDate.Text = standardTime.ToString("yyyy-MM-dd HH:mm:ss"); + })); + + if (RealTimeFlag) InsertLog("실시간 검증 구동 중.."); else InsertLog("Buyer 구동 중..");