private void myClassToXsdButton_Click(object sender, EventArgs e) { ClassToXsdForm form = new ClassToXsdForm(); form.ShowDialog(this); }