private void Button_Click(object sender, RoutedEventArgs e)
        {
            action = new Action <string>(ShowMessage);
            actionWithoutParameters = new Action(ShowMessageWithoutParam);
            ScheduleRunner sr = new ScheduleRunner();

            sr.runCodeAt(DateTime.Now.AddSeconds(2.0), actionWithoutParameters, null);
            sr.runCodeAt <string>(DateTime.Now.AddSeconds(2.0), action, "Testowa wiadomosc", null);
            //SetSuspendState(false, true, true);
        }