add an option for Ping tests (disabled by default) and improve the readability of the code
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Shadowsocks.View
|
||||
{
|
||||
private readonly ShadowsocksController _controller;
|
||||
private StatisticsStrategyConfiguration _configuration;
|
||||
private DataTable _dataTable = new DataTable();
|
||||
private readonly DataTable _dataTable = new DataTable();
|
||||
private List<string> _servers;
|
||||
|
||||
public StatisticsStrategyConfigurationForm(ShadowsocksController controller)
|
||||
@@ -135,5 +135,10 @@ namespace Shadowsocks.View
|
||||
{
|
||||
loadChartData();
|
||||
}
|
||||
|
||||
private void PingCheckBox_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
repeatTimesNum.ReadOnly = !PingCheckBox.Checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user