private void btnOpenEditor_Click(object sender, EventArgs e) { TrainingDataForm f2 = new TrainingDataForm(); f2.ShowDialog(); }