private void UserControl_Loaded(object sender, RoutedEventArgs e) { List<logicaGIT.CommitShortInfo> lista = Proyecto.listarCommits(100); ElementoCommit ele = null; gridCommits.Height = vparent.Height; foreach (logicaGIT.CommitShortInfo c in lista) { ele = new ElementoCommit(c, vparent); Constantes.DoEvents(this.Dispatcher); gridCommits.Children.Add(ele); } }
private void UserControl_Loaded(object sender, RoutedEventArgs e) { List <logicaGIT.CommitShortInfo> lista = Proyecto.listarCommits(100); ElementoCommit ele = null; gridCommits.Height = vparent.Height; foreach (logicaGIT.CommitShortInfo c in lista) { ele = new ElementoCommit(c, vparent); Constantes.DoEvents(this.Dispatcher); gridCommits.Children.Add(ele); } }