private void MainWindowMenuModifyTrackButton_Click(object sender, RoutedEventArgs e) { if (this.trackRenderer != null) { var dialog = new NewTrackDialog(this.trackRenderer.GetTrack()); dialog.Show(); } }
// ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- // // ----------- BUTTONS PROCEDURES ---------- // ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- // private void MainWindowMenuNewTrackButton_Click(object sender, RoutedEventArgs e) { var dialog = new NewTrackDialog(); dialog.Show(); }