- 임시 커밋

This commit is contained in:
2017-02-08 16:26:29 +09:00
parent 152e6af4e8
commit 31791b2dd7
8 changed files with 260 additions and 17 deletions

View File

@@ -153,7 +153,13 @@ namespace NewsCrawler
private void tbRevenueRate_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar) == false && e.KeyChar != '.')
if(char.IsDigit(e.KeyChar) == false && e.KeyChar != '.')
e.Handled = true;
}
private void tbAnProfitChange_KeyPress(object sender, KeyPressEventArgs e)
{
if(char.IsDigit(e.KeyChar) == false && e.KeyChar != '.')
e.Handled = true;
}
@@ -165,9 +171,15 @@ namespace NewsCrawler
float fRevenueRate;
float.TryParse(tbAnRevenueRate.Text, out fRevenueRate);
float fProfitChange;
float.TryParse(tbAnProfitChange.Text, out fProfitChange);
Config.SetAnnouncement(chAnDartAPI.Checked,
chAnSupply.Checked, chAnRevenue.Checked, chAnRightsIssue.Checked, chAnPatent.Checked,
fSupplyContractRate, fRevenueRate, tbAnPatent.Text);
chAnSupply.Checked, fSupplyContractRate,
chAnRevenue.Checked, fRevenueRate,
chAnRightsIssue.Checked,
chAnPatent.Checked, tbAnPatent.Text,
chAnProfitChange.Checked, fProfitChange);
}
}
}