编辑 WPF Toolkit 以仅获取 DatePicker

发布于 2024-08-09 05:06:00 字数 190 浏览 1 评论 0原文

我正在做一个小型应用程序,我需要一个 DatePicker 控件,所以我使用 WPF 工具包 datepicker。完成我的应用程序后,我注意到我的应用程序 exe 的大小为 250k,WPFToolkit dll 的大小为 442k。因此,我通过删除工具包中的其他控件来提取日期选择器控件。但这对我不起作用。应用程序运行时失败。如何仅从工具包中提取日期选择器控件?

I am doing a small application and i need a DatePicker control, So i use the WPF toolkit datepicker. After completing my application I notice that my application exe has of size 250k and the WPFToolkit dll has a size 442k. So i am extracting the datepicker control from the toolkit by deleting the other controls from it. But it is not working for me. The application is failed when running. How can I extract the datepicker control only from the toolkit?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦归所梦 2024-08-16 05:06:00

您可以从 Codeplex 下载 WPF 工具包的源代码。将您需要的文件复制到您的项目中并消除依赖性。添加文件时,您将发现编译项目还需要什么。他们可能使用您删除的一些基类。

You can download the source code for the WPF Toolkit from Codeplex. Copy the files you need into your project and eliminate the dependency. When adding the file(s) you will find out what else you need to get your project compiling. They probably use some base classes that you eliminated.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文