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

            dialog.Show();
        }