public StudentInfoWindow() { InitializeComponent(); DataContext = new StudentInfoWindowViewModel(); }
public StudentInfoWindow(StudentInfoWindowRole role, Student studentInfo) { InitializeComponent(); DataContext = new StudentInfoWindowViewModel(role, studentInfo); }