.net - How do I Generate a Windows Form (from a programmatically created project)? -


first want mention not asking how create windows form. have unique situation person decided create entire windows forms application programmatically. asking is...

is there way work backwards , generate designer file, or can visually work through, this?

what have programmatically created "designer" file...

is there way this?

steve

there no quick way this.

there 2 normal reason choose build form entirely in code, rather via designer.

one when controls shown on form determined @ run time, rather front @ design time. because using same form number of different screens/views loading/unloading controls need specific view, or form data driven, information controls want stored in database.

the other reason build form entirely in code when using custom controls don't work forms designer.

any of these reasons require (at minimum) rebuild form in designer hand, , may require re-create controls scratch or prevent using designer @ all.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -