如何引用网站用户控件在C#Windows应用程序?控件、应用程序、用户、网站

2023-09-03 08:20:19 作者:望断归来路

我在窗口C#应用程序的解决方案中,我也有一个网站。在网站上,我有1用户控件。现在我想在其他C#项目相同的解决方案中使用的用户控件。怎么办呢?

i have a solution in windows C# application in which i also have a website. In the website i have 1 usercontrol. now i want the usercontrol to be used in the other c# project of the same solution. how to do it?

推荐答案

这是无法做到的。你必须重新创建的Windows应用程序。什么,你可以重用的业务逻辑(如果它们是在不同的类库)和Web服务。

That cannot be done. You have to recreate it for the windows application. What you can reuse are business logics (if they are in a different class library) and web services.

 
精彩推荐
图片推荐