private void EditButton_Click(object sender, RoutedEventArgs e) { EditDialog editDialog = new EditDialog(); editDialog.Show(); }