3

I have given a new project that is all about automation. I have to automate Windows & Web based applications from a .NET based application i.e. the .NET based application should be able to read controls of the external web application as well as the windows based applications in order to do get and push data.

Kindly advise the .NET based application should be developed on Windows Forms technology or WPF/C#?

Also is there any way to automate Java Applet application from .NET/C#?

Thanks in advance.

4

2 回答 2

6

WPF值得学习。您想在 WinForms 中进行的许多标准 UI 修改将花费大量时间,而在 WPF 中,您可以像这样进行大部分修改。

WPF 还有很多有用的功能,您的应用程序将在每台计算机上以相同的方式显示,字体 DPI 等没有问题。

在 wpf 中,您可以轻松地添加动画、渐变、样式、本地化等。我强烈建议在 WinForms 上添加。WPF 还强制执行 MVVM 模式等良好实践,因此您的代码将更加灵活、可维护和可读。

一切都取决于您的目标是什么以及您希望使用该技术的频率。如果你想每年创建一次/两次小型应用程序,那么没有理由学习更复杂的 WPF,但如果你想创建更多项目并学习一次,这会给你很大的灵活性,那么你绝对应该学习 WPF .

于 2013-06-26T13:59:56.613 回答
4

WPF and WinForms mostly differs in UI contruction approach. If you don't need UI you can stick to any of them, overwise i'll advice you to use WPF as it is much more flexible and design-friendly than WinForms. Though WinForms is easier to use for basic UI if you don't know WPF, IMHO.

于 2013-06-26T11:43:17.583 回答