How to call a form from another project in Webforms?

Asked

Viewed 385 times

1

I have two Webforms projects one with authentication and one without. I need to call a project form without authentication in from the project with authentication. How do I?

2 answers

0

0

What you have to do is add a reference to your other project, in this case the project without authentication, within the project solution with authentication. You can check instructions step by step in this article by Microsoft or in this website article Code Line, that also has an example of how to work with several projects in the same solution and how to communicate between them (in the example is used a Windows Forms project and a Web Application project).

It is worth remembering that, according to the website of Microsoft, with the Reference Manager:

You can add a reference to the following types of components and services:

  • Class libraries or assemblies . NET

  • UWP apps

  • components with

  • Other assemblies or project class libraries in the same solution

  • Shared projects

  • XML Web Services

Browser other questions tagged

You are not signed in. Login or sign up in order to post.