private void button1_Click_1(object sender, EventArgs e) { FrmSviAvansi objForm2 = new FrmSviAvansi(); objForm2.MainForm = this; objForm2.ShowDialog(); if (broj_avansa_edit != 0 && godina != 0) { deleteFields(); fillForma(broj_avansa_edit, godina); } }
private void sviAvansiToolStripMenuItem_Click(object sender, EventArgs e) { try { FrmSviAvansi sviAvansi = new FrmSviAvansi(); sviAvansi.ShowDialog(); } catch (Exception) { throw; } }