Beispiel #1
0
        private void btnNoviRestoran_Click(object sender, EventArgs e)
        {
            RestoraniEdit f = new RestoraniEdit();

            if (f.ShowDialog() == DialogResult.OK)
            {
                LoadData(true);
            }
        }
Beispiel #2
0
        private void btnUrediRestoran_Click(object sender, EventArgs e)
        {
            if (dgvRestorani.CurrentRow == null)
            {
                return;
            }
            RestoraniEdit f = new RestoraniEdit((Restorani_Result)dgvRestorani.CurrentRow.DataBoundItem);

            if (f.ShowDialog() == DialogResult.OK)
            {
                LoadData(true);
            }
        }