StrataFrame Forum

Convert Dictionary Net 4.0 to Net 2.0 ?

http://forum.strataframe.net/Topic33434.aspx

By Dong Trien Lam - 1/21/2017

I want convert Dictionary Net 4.0 to Net 2.0.
Dictionary<string, Action<IWin32Window>> ItemHandlers = new Dictionary<string, Action<IWin32Window>>() {
      { "A", o => MessageBox.Show(o, "The command A is executed", "Dx Sample", MessageBoxButtons.OK, MessageBoxIcon.Information) },
      { "B", o => MessageBox.Show(o, "The command B is executed", "Dx Sample", MessageBoxButtons.OK, MessageBoxIcon.Information) }
        };