private void metroTile2_Click(object sender, EventArgs e) { int row = matchesGrid.CurrentCell.RowIndex; var ID = Int32.Parse(matchesGrid[matchesGrid.ColumnCount - 1, row].Value.ToString()); Match handler = repo.GetById(ID); var view = new MatchCreate(discipline, handler); view.Show(); }
private void metroTile2_Click(object sender, EventArgs e) { int row = matchesGrid.CurrentCell.RowIndex; var ID = Int32.Parse(matchesGrid[matchesGrid.ColumnCount - 1, row].Value.ToString()); Match handler = repo.GetById(ID); var view = new MatchCreate(discipline,handler); view.Show(); }
private void addTeam_Click(object sender, EventArgs e) { var view = new MatchCreate(discipline); view.Show(); }