コード例 #1
0
        private void dgvNovosti_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            var id = dgvNovosti.SelectedRows[0].Cells[0].Value;

            frmNovostiDetalji frm = new frmNovostiDetalji(int.Parse(id.ToString()));

            frm.Show();
        }
コード例 #2
0
        private void btnDodaj_Click(object sender, EventArgs e)
        {
            frmNovostiDetalji frm = new frmNovostiDetalji();

            frm.Show();
        }