private void ctlCheck_Click(object sender, EventArgs e) { StatusWindow statuswin; statuswin = new StatusWindow(this, tempDir, delimiter, ctlChbDate.Value.AddDays(Properties.Settings.Default.AddDays), ctlArn.Text); statuswin.ShowDialog(); }