我正在使用Windows窗体, i有两个解决方案 解决方案1包含(form1, form2,form3) 解决方案2包含(form4,form5,form6) i将启动项目设置为solution2,并创建从soluion2到solution1的引用。 添加引用后我可以从solution2访问solution1中的所有表单 以同样的方式,如果我从solution1引用到解决方案2它给我一个错误sayig无法进行循环引用 现在问题是如何从solution1访问solution2中的所有表单.. 我的工作流程需要在下面b方式 从表格4开始>形式1->表格5 - >表格2 关于 Deebhan hari
i am using windows form, i have two solution solution 1 contains (form1, form2,form3) solution 2 contains (form4, form5,form6) i have set start up project as solution2 and also create refernce from soluion2 to solution1. after adding reference i can access all my form in solution1 from solution2 in the same manner if i had reference from solution1 to solution 2 it give me a error sayig "Circular reference cannot be made " Now the problem is how do i access all the form in solution2 from solution1.. my workflow need to b in below manner starting Form 4-> Form 1-> Form 5 ->Form 2 With regards Deebhan hari
推荐答案在解决方案1中添加对解决方案2的引用。 或者更好,移动常用表单,或相互关联的表格成为一个单独的项目(甚至解决方案),并参考两者。这样,互连可以保持在同一个项目中,管理变更变得容易得多。 Add a reference to solution 2 in solution 1 as well. Or better, move the common forms, or interrelated forms into a separate project (or even solution) and reference that from both. That way the interconnections can be kept within the same project and it becomes a lot easier to manage changes.
更多推荐
在多种解决方案中形式之间的交换
发布评论