private void cancelButton_Click(object sender, RoutedEventArgs e) { var delete = new AdminWindow1(); this.Close(); }