private void button1_Click(object sender, EventArgs e)
 {
     IntersectionConfig form = new IntersectionConfig(this.comboBox_Intersections.SelectedIndex);
     form.ShowDialog();
 }
예제 #2
0
 private void toolStripButton_intersectionConfig_Click(object sender, EventArgs e)
 {
     if (Simulator.simulationFileReaded)
     {
         IntersectionConfig form = new IntersectionConfig(0);
         form.Show();
     }
     else
     {
         this.AddMessage("System", "Must read the simulation file, Click the red icon on the left side to read it");
         //this.AddMessage("System", "請先開啟模擬檔,點選檔案或上方模擬檔讀取之紅色圖示");
     }
 }