private void mnOcene_Click(object sender, EventArgs e) { try { OceneForm form = new OceneForm(takmicenje.Id, deoTakKod); form.ShowDialog(); } catch (BusinessException ex) { MessageDialogs.showMessage(ex.Message, "Greska"); } catch (InfrastructureException ex) { MessageDialogs.showError(ex.Message, "Greska"); } }
private void mnTakmicenje3Ocene_Click(object sender, EventArgs e) { try { OceneForm form = new OceneForm(takmicenjeId.Value, DeoTakmicenjaKod.Takmicenje3); form.ShowDialog(); } catch (BusinessException ex) { MessageDialogs.showMessage(ex.Message, strProgName); } catch (InfrastructureException ex) { MessageDialogs.showError(ex.Message, strProgName); } }