Add option to VS IDE to convert xsfrm to Windows Forms Form
Chris, Can you add code to convert a form definition based on a xsfrm to a windows forms form (like you're also doing in VOExporter). I will then add that to the context menu in the solution explorer. The code should accept a xsfrm file name, and also a Form.prg file name. The code should create the Form.Prg and Form.Designer.prg I will hook this up to the context menu of the solution explorer. It is probably a good idea to add a "translation table" that translates the original VOWED type to a fully qualified class name. By adding that table a user can also decide to map a control to a control from for example the DevExpress suite.
Maybe also for xsmnu files?
Robert, OK, will look into both!
Implemented first basic version for windows. There's a new static method
VOWindowEditor.ConvertXsfrmToPrg()
which accepts 3 parameters:
- xsfrm filename
- form.prg filename
- namespace name
Hi... One consideration that you could make is to add this functionality using a separate visual studio extension... That way you would have two advantages:
- You can have a different release cycle for this functionality
- Users can decide, if they need this functionality or not
Is extension could for example bundle various conversion related functionality (like adding the xporter to the menu) that can be removed, once you are done converting.
Implemented in 2.24