示例#1
0
        private void btnNovaPoruka_Click(object sender, EventArgs e)
        {
            frmNovaPoruka190073 forma = new frmNovaPoruka190073(_korisnik);

            if (forma.ShowDialog() == DialogResult.OK)
            {
                UcitajPoruke();
            }
        }
示例#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();
            }
        }