Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
ERRNUM: CS0029: Cannot implicitly convert type 'System.EventHandler<System.Windows.Forms.TreeNodeMouseClickEventArgs>' to 'System.Windows.Forms.TreeNodeMouseClickEventHandler'
NETSRC: C:\gmTestBed\FileExplorer\proj_csh\deploy\FileExplorer\frmExploreLite.Designer.cs@318 : InitializeComponent
    this.tvTreeView.NodeMouseClick += new System.EventHandler<TreeNodeMouseClickEventArgs>(this.tvTreeView_NodeClick);

Similar issues are likely to occur with other controls that use specialized delegate events.

We regret this detail was missed when testing the changes for generic events; testing for designer rewrite problems will be standard operating procedure going forward.

The easiest way to correct this is by editing the migration rules files adding specializedHookup="on".  Most of these can be picked up using a search-replace

...