Your ShowCalendar
method can't return a string that way, I understand that you want to show the calendar, let user select some date and hide it after that, store the selected date in a string, here is what it should be:
public static void ShowCalendar(Point locatieCalender, Form F1, Control textBox)
{
MonthCalendar calender = new MonthCalendar();
calender.Location = locatieCalender;
calender.Parent = F1;
//Register this event handler to assign the selected date accordingly to your textBox
calendar.DateSelected += (s,e) => {
textBox.Text = e.Start.ToString("dd-MM-yyyy");
(s as MonthCalendar).Parent = null;
(s as MonthCalendar).Dispose();
};
calender.Show();
calender.BringToFront();
}
//Use it
Point calenderLocatie = new Point(405, 69);
HelpFunction.ShowCalendar(calenderLocatie, this, txtPeriode_Tot);