private void btnSP_Click(object sender, RoutedEventArgs e) { drawSP mysp= new drawSP(); if (running_train != 0) { mysp.Init_DrawSP(SP, track_len, train[0].V_max); mysp.DrawSP(); imgPic.Source = mysp.Finish_DrawSP(); } }
private void btnSP_Click(object sender, RoutedEventArgs e) { drawSP mysp = new drawSP(); if (running_train != 0) { mysp.Init_DrawSP(SP, track_len, train[0].V_max); mysp.DrawSP(); imgPic.Source = mysp.Finish_DrawSP(); } }