Starting point for others: Convert MsgBox to MessageBox.Show
This is generated with a coding agent, but I've skimmed the code to ensure it's roughly the right shape in the right place. If someone's keen to bring this functionality to the system it should be a great starting point (just checkout the branch, try it out, add any more tests/improvements needed).
Note: I'm not intending to work on this further myself at this time, it's just an example to help new contributors.
Agent comments
This change introduces a conversion from Microsoft.VisualBasic.Interaction.MsgBox to System.Windows.Forms.MessageBox.Show.
I handled the mapping of MsgBoxStyle to MessageBoxButtons and MessageBoxIcon, and reordered the arguments appropriately.
The type mapping from MsgBoxResult to DialogResult is not yet implemented.
Problem
Fixes #1166
Solution
- Any comments on the approach taken, its consistency with surrounding code, etc.
- Which part of this PR is most in need of attention/improvement? Hasn't been tested in any way. E.g. It may not work at all, or may have all the values it converts flipped backwards.
- [ ] At least one test covering the code changed