Beispiel #1
0
 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");
     }
 }
Beispiel #2
0
 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);
     }
 }