Esempio n. 1
0
        private void btnNovaPoruka_Click(object sender, EventArgs e)
        {
            frmNovaPoruka190073 forma = new frmNovaPoruka190073(_korisnik);

            if (forma.ShowDialog() == DialogResult.OK)
            {
                UcitajPoruke();
            }
        }
Esempio n. 2
0
        private void dgvPoruke_DoubleClick(object sender, EventArgs e)
        {
            var odabranaPoruka = dgvPoruke.SelectedRows[0].DataBoundItem as KorisniciPoruke190073;

            if (odabranaPoruka != null)
            {
                frmNovaPoruka190073 forma = new frmNovaPoruka190073(odabranaPoruka);
                forma.ShowDialog();
            }
        }