예제 #1
0
        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();
        }
예제 #2
0
 public FormDetails()
 {
     InitializeComponent();
     apiKey = ItineraryData.getApiKey()[0];
 }
예제 #3
0
 private void FormCalculateMatrix_Load(object sender, EventArgs e)
 {
     cbKey.DataSource     = ItineraryData.getApiKey();
     cbKey.SelectedIndex  = 1;
     cbMode.SelectedIndex = 1;
 }