private void btnSave_Click(object sender, EventArgs e) { try { _presenter.SaveTask(); base.Close(); } catch (TaskValidationException ex) { this.ShowError(ex.Message); } catch (Exception ex) { this.ShowError(ex); } }