Artinsoft+vbuc+v401042273+verified Online

The extension above generates a call to a helper. We must also develop the helper class that will be added to the migrated solution.

File: ToolTipHelper.cs (To be added to the migrated project)

using System.Windows.Forms;

namespace MigrationHelpers public static class ToolTipHelper private static ToolTip _sharedToolTip = new ToolTip(); artinsoft+vbuc+v401042273+verified

    public static void SetToolTip(Control ctrl, string text)
_sharedToolTip.SetToolTip(ctrl, text);

We want the VBUC to generate the following C# code automatically:

Target C# Code:

// Inside the Form class
private System.Windows.Forms.ToolTip ToolTip1;

// Inside InitializeComponent or Form_Load this.ToolTip1 = new System.Windows.Forms.ToolTip(); this.ToolTip1.SetToolTip(this.Label1, "Click here to submit");

Years ago, ArtinSoft and Microsoft partnered to release free versions of migration tools. These free versions were limited (e.g., they might migrate the UI but not the data access layer, or they would insert "TODO" comments for complex logic).