将基于Windows窗体的应用程序转换为控件的最快方法

问题描述:

所以,我有一个基于C#Windows Form的应用程序,现在,因为它是如此的酷,我希望能够以控件的形式交付给人们,他们可以将其放置在任何控件上.其他类型的应用程序(当然可以).

我记得很多年前曾经做过一次这样的痛苦,但是如今看来这应该容易得多.

好的文章上的任何指针,或有关如何最有效地执行此操作的其他信息?

So, I have a C# Windows Form based application, and now, because it''s so darned cool, I''d like to be able to deliver to people in the form of a Control which they could plop onto any other type of application (within reason of course).

I recall the pain in doing this once before many years ago, but it seems like this should be much easier nowadays.

Any pointers on a good article, or other information on how to do this most efficiently ?

这并不容易,因为可以在设计师,当您开始与设计师打交道时,事情就会变得更加复杂.

如果它是一种特殊形式,只需将其放入库程序集(DLL)中即可.
It''s no easier because a proper control can be customized in the designer, and when you start dealing with the designer, things become mcuh more convoluted.

If it''s a special form, just put it into a Library assembly (DLL).