Create Object Form
-
I have project and store the name of this project forms in a database table, the start up form will show the other project form in a tree view and store the description of that forms and its names on mouse double click i want to create instance of a form in the selected node with out knowing the name of that form not hard code also i dont know how to use the system.reflication please can any one help me Hosam Taji
-
I have project and store the name of this project forms in a database table, the start up form will show the other project form in a tree view and store the description of that forms and its names on mouse double click i want to create instance of a form in the selected node with out knowing the name of that form not hard code also i dont know how to use the system.reflication please can any one help me Hosam Taji
Can I ask why the duplication ? What if a form name changes within the project, the database will be wrong. Why do you need to use reflection at all, if you know the names of all the forms, to store them in a database table ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Can I ask why the duplication ? What if a form name changes within the project, the database will be wrong. Why do you need to use reflection at all, if you know the names of all the forms, to store them in a database table ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
what if i have more that 1000 forms in my project do i have to write code for each form in its name to call it, also my project is multilengual and the user can change the form descritpion and loacation in the tree throw a spechle forms so that why i use the database !!!! i do all these in other languge like oracle developer and know i am trying to do so in C# windows application to let my team enter the information about the forms in the database and then the startup form will call these forms automatic Hosam Taji