private void GoTrains() { Trains TW = new Trains(UserID); TW.Show(); this.Close(); }
private void Trains_Click(object sender, RoutedEventArgs e) { Trains TW = new Trains(userid); TW.Show(); this.Close(); }