chiedoscusa, ma era un problema legato all'evento del bottone, che non funzionava... ho risolto, grazie dell'aiuto :)
posto il codice corretto:
private void _loadDict()
{
int numParole, d = 0;
Random rand = new Random((int)DateTime.Now.Millisecond);
StreamReader sr = new StreamReader(path);
dict = File.ReadAllLines(path);
numParole = Length;
nRand = rand.Next(0, numParole - 1);
wordBack = dict[nRand].ToUpper();
_setWord();
}
private void loadDictBut_Click(object sender, EventArgs e)
{
FormDict fd = new FormDict();
DialogResult result = fd.ShowDialog();
if (result == DialogResult.OK)
path = fd.path;
}
private void randomWordBut_Click_1(object sender, EventArgs e)
{
_loadDict();
}