Exemplo n.º 1
0
        private void showHoroscope()
        {
            int    month         = Horoscope.dateConvert(LogicApp.m_LoggedInUser.Birthday, 0, 2);
            int    day           = Horoscope.dateConvert(LogicApp.m_LoggedInUser.Birthday, 3, 2);
            string horoscopeText = Horoscope.GetHoroscopeByDateOfBirth(day, month);

            FormHoroscope form = new FormHoroscope(horoscopeText);

            form.Show();
        }
Exemplo n.º 2
0
        private void showHoroscope()
        {
            try
            {
                string horoscopeText = m_facade.getHoroscopeText();

                FormHoroscope form = new FormHoroscope(horoscopeText);
                form.Show();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }