private void btnSendMails_Click(object sender, RibbonControlEventArgs e)
        {
            CSVInput form = new CSVInput();

            form.Show();

            string subject = form.txtSubject.Text;
            string body    = form.txtBody.Text;

            foreach (DataGridViewRow row in form.grdData.Rows)
            {
                if (row.IsNewRow)
                {
                    continue;
                }
                string department = row.Cells["Department"].Value as string;
                string sheetRange = row.Cells["Slides"].Value as string;
                string mail       = row.Cells["E-Mails"].Value as string;

                List <int> sheetNumbers = GetSheetNumbers(sheetRange);

                Presentation curCopy = MakeCopyFor(department);
                StripSheets(curCopy, sheetNumbers, department);
                PrepareMail(mail, department, subject, body);
            }
            form.Hide();
        }
        private void btnSetCsv_Click(object sender, RibbonControlEventArgs e)
        {
            CSVInput form = new CSVInput();

            form.Show();
        }