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