1

I have developed a windows form project using Telerik controls. Now for some reason I've to switch to Syncfusion controls. What is the best way to switch to new controls? Do I have to drag and drop all the stuff again..?? Or is there a any other option which may be less time consuming.

4

2 回答 2

1

这非常耗时。这不仅仅是改变控制的问题。可能它们在事件、成本方面完全不同,在功能方面更糟。您将需要测试所有代码并可能重写 UI 交互方法。
如果你真的需要这样做,花点时间,使用版本控制系统为新版本创建一个分支,同时保持对旧版本的支持,仍然使用 Telerik 控件

于 2012-04-12T09:32:58.597 回答
0

You could just change the references in your *.Designer.cs files, but you'll probably run into errors when the Designer file attempts to assign properties that have existed in the Telerik controls and don't exist in the Syncfusion ones.

This approach will probably be less work than remaking every form, but it'll still take some time.

于 2012-04-12T09:32:43.897 回答