Exemple #1
0
 private void mnPromenaGimnasticara_Click(object sender, EventArgs e)
 {
     try
     {
         GimnasticariForm f = new GimnasticariForm();
         f.ShowDialog();
     }
     catch (BusinessException ex)
     {
         MessageDialogs.showMessage(ex.Message, this.Text);
     }
     catch (InfrastructureException ex)
     {
         MessageDialogs.showError(ex.Message, this.Text);
     }
 }
Exemple #2
0
 private void mnPromenaGimnasticara_Click(object sender, EventArgs e)
 {
     try
     {
         GimnasticariForm f = new GimnasticariForm();
         f.ShowDialog();
     }
     catch (BusinessException ex)
     {
         MessageDialogs.showMessage(ex.Message, this.Text);
     }
     catch (InfrastructureException ex)
     {
         MessageDialogs.showError(ex.Message, this.Text);
     }
 }