public static void Execute() { using (var frm = new FrmClassesName()) { frm.ShowDialog(); } }
private void btnSetClassNames_Click(object sender, EventArgs e) { FrmClassesName.Execute(); }