private void FormDistanceMatrix_Load(object sender, EventArgs e) { cbKey.DataSource = ItineraryData.getApiKey(); cbKey.SelectedIndex = 1; cbMode.SelectedIndex = 1; openFileDialog1.InitialDirectory = Application.StartupPath; openFileDialog1.Filter = "CSV Files| *.csv|All Files| *.*"; place_data = ReadListofPlaces(); tbTotalData.Text = place_data.Count.ToString(); totalRequest = getTotalRequest(place_data.Count, (int)numericMaxGrab.Value); tbTotalRequest.Text = totalRequest.ToString(); }
public FormDetails() { InitializeComponent(); apiKey = ItineraryData.getApiKey()[0]; }
private void FormCalculateMatrix_Load(object sender, EventArgs e) { cbKey.DataSource = ItineraryData.getApiKey(); cbKey.SelectedIndex = 1; cbMode.SelectedIndex = 1; }