private void saveCode(BuildType buildtype) { if (!string.IsNullOrEmpty(this.txtOutPut.Text)) { switch (buildtype) { case BuildType.WebBuild: break; case BuildType.WPFBuild: break; case BuildType.EntityFrameworkBuild: EntityFrameworkBuild entityframework = new EntityFrameworkBuild(); entityframework.BuildMyMenusClass(this.txtOutPut.Text, tablenames); entityframework.BuildConfig(this.txtOutPut.Text); entityframework.BuildDbContext(this.txtOutPut.Text, tablenames); break; } } }