public UserMainWindow(User user) { InitializeComponent(); _boxService = new BoxXmlService(); dataGridViewBoxStatus.DataSource = _boxService.GetByUserId(user); }