c# Calling a form from another project -


got problem calling forms other projects. have solution 3 projects. example want call form buttonclick project when i'm on project b.

this easy since put folder in solution (with other projects) in vs, add project solution explorer , make reference project project b. can call forms (when in project a):

    projectb.form1 f1 = new projectb.form1();     f1.show(); 

but when try same project when i'm in project b

    projecta.form1 f1 = new projecta.form1();     f1.show(); 

then error message saying projecta doesn't exist etc.

how can resolve this? make reference project project b ?..

thanks in advance

in solution explorer, right-click "references" folder under project a, add reference, solution, , select project b. can avoid using projecta. everytime adding line using projecta; @ top of file.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -