private void AddRandom_Click(object sender, RoutedEventArgs e) { ViewModel.Current.Graphs.Add(RandomGraph.Get()); //for (int i = 0; i < 10; i++) //{ // graphs.Add(new RandomGraph()); //} }