将基于Windows窗体的应用程序转换为控件的最快方法 [英] Quickest way to convert a Windows form based application to a control

查看:68
本文介绍了将基于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).


这篇关于将基于Windows窗体的应用程序转换为控件的最快方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆