private void btnStart_Click(object sender, EventArgs e) { FormCheckXML FormStartRegular = new FormCheckXML(); this.Hide(); FormStartRegular.ShowDialog(); }
private void btnStart_Click(object sender, EventArgs e) { //DateTime date = DateTime.ParseExact(Convert.ToString(dateTimePickerOverride.Text), "yyyy.MM.dd. HH:mm:ss", CultureInfo.CurrentCulture); Variables.CurrentDate = dateTimePickerOverride.Value.Date + dateTimePickerHour.Value.TimeOfDay; FormCheckXML FormStartRegular = new FormCheckXML(); this.Hide(); FormStartRegular.ShowDialog(); }