private void Button_Click(object sender, RoutedEventArgs e) { Graph1 graph1 = new Graph1(); graph1.Show(); }