private void simpleButton1_Click(object sender, EventArgs e) { SetInfo.Validate(); this.DialogResult = DialogResult.OK; }