예제 #1
0
        private void dgvKnjige_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            var id = dgvKnjige.SelectedRows[0].Cells[0].Value;

            FormEknjigeDodaj form = new FormEknjigeDodaj(int.Parse(id.ToString()));

            form.Show();
        }
예제 #2
0
        private void btnDodaj_Click(object sender, EventArgs e)
        {
            FormEknjigeDodaj form = new FormEknjigeDodaj();

            form.Show();
        }