- 버전 추가

- 영업이익률 표시 안되던 문제 수정
This commit is contained in:
2017-01-27 01:29:02 +09:00
parent b58125455f
commit babcdb918c
3 changed files with 16 additions and 2 deletions

13
ConfigForm.Designer.cs generated
View File

@@ -69,6 +69,7 @@
this.label7 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label();
this.tbRevenueRate = new System.Windows.Forms.TextBox(); this.tbRevenueRate = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout(); this.groupBox2.SuspendLayout();
this.groupBox6.SuspendLayout(); this.groupBox6.SuspendLayout();
@@ -507,11 +508,21 @@
this.label8.TabIndex = 3; this.label8.TabIndex = 3;
this.label8.Text = "영업(잠정)실적"; this.label8.Text = "영업(잠정)실적";
// //
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(8, 420);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(132, 12);
this.label9.TabIndex = 20;
this.label9.Text = "Version : 2017.01.27.01";
//
// ConfigForm // ConfigForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(548, 441); this.ClientSize = new System.Drawing.Size(548, 441);
this.Controls.Add(this.label9);
this.Controls.Add(this.groupBox12); this.Controls.Add(this.groupBox12);
this.Controls.Add(this.groupBox11); this.Controls.Add(this.groupBox11);
this.Controls.Add(this.groupBox10); this.Controls.Add(this.groupBox10);
@@ -541,6 +552,7 @@
this.groupBox12.ResumeLayout(false); this.groupBox12.ResumeLayout(false);
this.groupBox12.PerformLayout(); this.groupBox12.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout();
} }
@@ -586,5 +598,6 @@
private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox tbRevenueRate; private System.Windows.Forms.TextBox tbRevenueRate;
private System.Windows.Forms.Label label8; private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
} }
} }

View File

@@ -28,6 +28,7 @@ namespace NewsCrawler
cbAccount.SelectedItem = Config.GetAccount(); cbAccount.SelectedItem = Config.GetAccount();
tbSupplyContractRate.Text = Config.GetSupplyContractRate().ToString(); tbSupplyContractRate.Text = Config.GetSupplyContractRate().ToString();
tbRevenueRate.Text = Config.GetRevenueRate().ToString();
} }
private void OpenFile(string strName) private void OpenFile(string strName)

View File

@@ -56,9 +56,9 @@ namespace NewsCrawler
try try
{ {
string strServerURL = "http://www.asiae.co.kr"; string strServerURL = "http://www.asiae.co.kr";
using (HttpWebResponse response = (HttpWebResponse)HttpReq.GetResponse()) using(HttpWebResponse response = (HttpWebResponse)HttpReq.GetResponse())
{ {
using (Stream dataStream = response.GetResponseStream()) using(Stream dataStream = response.GetResponseStream())
{ {
using(StreamReader reader = new StreamReader(dataStream, Encoding.GetEncoding("EUC-KR"))) using(StreamReader reader = new StreamReader(dataStream, Encoding.GetEncoding("EUC-KR")))
{ {