private void btnNewSprint_Click(object sender, RoutedEventArgs e) { CreateEditSprint ces = new CreateEditSprint(); ces.Show(); SprintBoardViewModel sbvm2 = new SprintBoardViewModel(); ces.DataContext = sbvm2; }