Пример #1
0
        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);
            }
        }
Пример #2
0
        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);
            }
        }