private void btn_toC3_Click(object sender, RoutedEventArgs e) { //Dimensions of the cage known at this point //TODO write to config file Cage3 c1 = new Cage3(); this.Close(); c1.ShowDialog(); }