private void ShowHolidays(object sender, EventArgs e) { try { if (!CheckIsOpened()) { return; } var form = new HolidaysForm(PRG.Holidays, PRG.HolidayCodes); form.Show(); } catch (Exception exception) { MessageBoxUtilities.ShowException(exception); } }
private void ShowHolidays(object sender, EventArgs e) { try { if (!CheckIsOpened()) { return; } var form = new HolidaysForm(PRG.Holidays, PRG.HolidayCodes); form.Show(); } catch (Exception exception) { ExceptionHandler.Show(exception); } }