0

Basically I have got two projects in a same solution. Project A has a form, and on the form this is a panel. Project B's entry points is written like this:

namespace Demo
{    
    public static class Program
    {   
        [STAThread]
        public static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
    }
}

And my question is how do i run this project B in Project A Form's Panel? In addition Project B is a form contains a pictureBox which grabs frame from the webcam.

4

1 回答 1

0

如果Project B被编译成可执行文件,你可以看看这个问题,它也提供了一个解决方案。提示:您正在尝试从您的 WinForms 进程运行一个新进程。

于 2013-02-24T12:18:56.753 回答