Convert Dictionary Net 4.0 to Net 2.0 ?


Author
Message
Dong Trien Lam
Dong Trien Lam
StrataFrame User (263 reputation)StrataFrame User (263 reputation)StrataFrame User (263 reputation)StrataFrame User (263 reputation)StrataFrame User (263 reputation)StrataFrame User (263 reputation)StrataFrame User (263 reputation)StrataFrame User (263 reputation)StrataFrame User (263 reputation)
Group: Anonymous / Guest
Posts: 57, Visits: 251
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) }
        };

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search