private void EditDeptBtn_Click(object sender, EventArgs e) { if (TeamListView.SelectedIndices.Count == 1) { var selTeam = TeamListProc.Result[TeamListView.SelectedIndices[0]]; var teamPP = new TeamMemberPP(Database.Connection, selTeam, this); teamPP.Show(); } }
private void AddDeptBtn_Click(object sender, EventArgs e) { var teamPP = new TeamMemberPP(Database.Connection,this); teamPP.Show(); }