private void btnNoviTipKarte_Click(object sender, EventArgs e)
        {
            frmNoviTipKarte frm = new frmNoviTipKarte(this.EventId, this);

            frm.MdiParent = this.MdiParent;

            frm.Show();
        }
        private void btnIzmjeni_Click(object sender, EventArgs e)
        {
            if (dgvProdajaTip.SelectedRows.Count > 0)
            {
                string          id        = dgvProdajaTip.SelectedRows[0].Cells[0].Value.ToString();
                int             idProdaje = int.Parse(id);
                frmNoviTipKarte frm       = new frmNoviTipKarte(EventId, this, idProdaje);

                if (frm.ShowDialog() == DialogResult.Cancel)
                {
                    BindProdajeTipovaKarata();
                }
            }
            else
            {
                MessageBox.Show(Properties.Resources.selectTipProdaje, "Info", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }