private void dgvClanovi_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var clanId = int.Parse(dgvClanovi.SelectedRows[0].Cells[0].Value.ToString());

            frmClanDetalji frm = new frmClanDetalji(clanId);

            frm.Show();
        }
        private void btnDetalji_Click(object sender, EventArgs e)
        {
            if (dgvClanovi.SelectedRows.Count == 0 || Convert.ToInt32(dgvClanovi.SelectedRows[0].Cells[0].Value) == 0)
            {
                MessageBox.Show("Greška! Niste odabrali clana!");
            }
            else
            {
                frmClanDetalji frm = new frmClanDetalji(Convert.ToInt32(dgvClanovi.SelectedRows[0].Cells[0].Value));

                frm.Show();
            }
        }