Esempio n. 1
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            Routine newRoutine = new Routine();

            Controller.Routines.Add(newRoutine);
            RoutineBuilder builder = new RoutineBuilder(newRoutine);

            builder.Show();
            //BADDDDD
            WindowManager.CurrentViews[typeof(RoutineBuilder)] = builder;
        }
 private void button1_Click(object sender, RoutedEventArgs e)
 {
     Routine newRoutine = new Routine();
     Controller.Routines.Add(newRoutine);
     RoutineBuilder builder = new RoutineBuilder(newRoutine);
     builder.Show();
     //BADDDDD
     WindowManager.CurrentViews[typeof(RoutineBuilder)] = builder;
 }