Define your dictionary in the class level
, outside of your methods like this:
Dictionary<string, string> loadfile;
Then just initialize it in your method:
loadfile = File.ReadLines(openFileDialog1.FileName)
.Select(line => line.Split(';'))
.ToDictionary(parts => parts[0], parts => parts[1]);