private void switchButton_Click(object sender, RoutedEventArgs e) { EntryOne e1 = new EntryOne(); e1.Show(); this.Close(); }