コード例 #1
0
        private async void btnDodajVodica_Click(object sender, EventArgs e)
        {
            var frm = new frmTuristickiVodiciDetalji();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                await UcitajFormu();
            }
        }
コード例 #2
0
        private async void dgvTuristickiVodic_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var id = int.Parse(dgvVodici.SelectedRows[0].Cells[0].Value.ToString());

            var frm = new frmTuristickiVodiciDetalji(id);

            frm.ShowDialog();
            await UcitajFormu();
        }