private void ButtonDownloadTicks_Click(object sender, EventArgs e) { ButtonDownloadTicks.Enabled = false; QuotesManager.DownloadNewQuotes(TextBoxSymbol.Text, dateTimePicker1.Value.Date, dateTimePicker2.Value.Date, false); ButtonDownloadTicks.Enabled = true; }
private void button4_Click(object sender, EventArgs e) { button4.Enabled = false; QuotesManager.DownloadNewQuotes(TextBoxSymbol.Text, dateTimePicker1.Value.Date, dateTimePicker2.Value.Date, true); button4.Enabled = true; }