void b_Click(object sender, EventArgs e)
        {
            ButtonItem b     = (sender as ButtonItem);
            string     input = _blocks[b.Name];

            if (ReportElement.GetType() == typeof(WeeklyReport))
            {
                WeeklyReport wr = (ReportElement as WeeklyReport);
                wr.ActiveRTB.SelectedRtf = input;
            }
            else if (ReportElement.GetType() == typeof(DaylyReport))
            {
                DaylyReport dr = (ReportElement as DaylyReport);
                dr.ActiveRTB.SelectedRtf = input;
            }
        }
        void StartProgram()
        {
            try
            {
                Padding = new System.Windows.Forms.Padding(0, 0, 0, 5);
                AddDayPicker();
                LoadBlocks();

                lblLocalVersionShortCut.Text = "Deine Version: " + Application.ProductVersion;

                //Updater herunterladen
                if (File.Exists(DataManager.GetWorkingDirectory() + "\\Updater.exe"))
                {
                    File.Delete(DataManager.GetWorkingDirectory() + "\\Updater.exe");
                }

                if (MiscTools.CheckFilesystem())
                {
                    InternalSetup.setupAssist(0, ref _settings);
                }

                _settings = DataManager.LoadSettings();

                InternalSetup.setupAssist(int.Parse(_settings["lastUndoneSetupStep"]), ref _settings);

                foreach (RatingItem ri in icRatings.SubItems)
                {
                    if (_settings.ContainsKey(ri.Name))
                    {
                        ri.RatingValue = int.Parse(_settings[ri.Name]);
                    }
                }

                if (!_settings.ContainsKey("FileNames"))
                {
                    _settings.Add("FileNames", "Bericht {AW} von {WS} - {WE}");
                }
                DataManager.SaveSettings(_settings);

                cbxAutoUpdate.Checked = _settings["AutoUpdate"] == "1" ? true : false;

                loadBaseData();

                if (_settings["ReportType"] == "dayly" || _settings["ReportType"] == "dayly+sa")
                {
                    _actReport = DataManager.GetReportOfDate(DateTime.Now);
                    if (_actReport == null)
                    {
                        _actReport = new Report(null, DateTime.Now.ToShortDateString(), "", "", "", "", "", "", "0", null, null);
                    }

                    DaylyReport dr = new DaylyReport(daypicker);
                    btnSave.Click       += new System.EventHandler(dr.SaveAsPDF);
                    btnSpellcheck.Click += new EventHandler(dr.SetSpellCheckEnabled);
                    dr.Dock              = DockStyle.Fill;

                    panelReport.Controls.Add(dr);
                    dr.fillReportedDays();

                    ReportElement = dr;
                }
                else if (_settings["ReportType"] == "weekly")
                {
                    _actReport = DataManager.GetReportOfWeek(DateTimeTools.GetActAppWeek(DateTime.Parse(DataManager.LoadBaseData()["beginn"]), DateTime.Now));
                    if (_actReport == null)
                    {
                        _actReport = new Report(null, DateTimeTools.GetWeekOfYear(DateTime.Now).ToString(), DateTimeTools.GetWeekOfYear(DateTime.Now).ToString(), DateTime.Now.Year.ToString(), "", "", "", "");
                    }

                    WeeklyReport wr = new WeeklyReport(_actReport, daypicker, _baseData);
                    btnSave.Click       += new System.EventHandler(wr.SaveAsPDF);
                    btnSpellcheck.Click += new EventHandler(wr.SetSpellCheckEnabled);
                    wr.Dock              = DockStyle.Fill;

                    panelReport.Controls.Add(wr);
                    wr.fillReportedDays();

                    ReportElement = wr;
                }
                else
                {
                    InternalSetup.setupAssist(2, ref _settings);
                }

                fillGUI(daypicker.SelectedDate);

                addEvents();

                Thread start = new Thread(SendStats.SendStart);
                start.Start();
                Thread checkv = new Thread(checkVersion);
                checkv.Start();
            }
            catch (Exception exception)
            {
                MessageBox.Show(exception.ToString());
                Environment.Exit(0);
            }
        }