private void button1_Click(object sender, EventArgs e)
 {
     TrafficSignalConfig form = new TrafficSignalConfig(selectedIntersection.intersectionID);
     form.Show();
 }
示例#2
0
 //Simulator Running buttons end
 //Simulation Config Tools
 private void toolStripButton_trafficSignalConfig_Click(object sender, EventArgs e)
 {
     if (Simulator.simulationFileReaded)
     {
         TrafficSignalConfig form = new TrafficSignalConfig(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", "請先開啟模擬檔,點選檔案或上方模擬檔讀取之紅色圖示");
     }
 }