diff --git a/ConfigForm.Designer.cs b/ConfigForm.Designer.cs index 259b08b..4a4a177 100644 --- a/ConfigForm.Designer.cs +++ b/ConfigForm.Designer.cs @@ -69,6 +69,7 @@ this.label7 = new System.Windows.Forms.Label(); this.tbRevenueRate = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox6.SuspendLayout(); @@ -507,11 +508,21 @@ this.label8.TabIndex = 3; 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 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(548, 441); + this.Controls.Add(this.label9); this.Controls.Add(this.groupBox12); this.Controls.Add(this.groupBox11); this.Controls.Add(this.groupBox10); @@ -541,6 +552,7 @@ this.groupBox12.ResumeLayout(false); this.groupBox12.PerformLayout(); this.ResumeLayout(false); + this.PerformLayout(); } @@ -586,5 +598,6 @@ private System.Windows.Forms.Label label7; private System.Windows.Forms.TextBox tbRevenueRate; private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label9; } } \ No newline at end of file diff --git a/ConfigForm.cs b/ConfigForm.cs index 3d1a93b..70d0ee5 100644 --- a/ConfigForm.cs +++ b/ConfigForm.cs @@ -28,6 +28,7 @@ namespace NewsCrawler cbAccount.SelectedItem = Config.GetAccount(); tbSupplyContractRate.Text = Config.GetSupplyContractRate().ToString(); + tbRevenueRate.Text = Config.GetRevenueRate().ToString(); } private void OpenFile(string strName) diff --git a/Crawler.cs b/Crawler.cs index e601a47..4f25a18 100644 --- a/Crawler.cs +++ b/Crawler.cs @@ -56,9 +56,9 @@ namespace NewsCrawler try { 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"))) {