void button6_Click(object sender, EventArgs e) { GenericDistribution chooseGame; chooseGame = new GenericDistribution(Program.LotteryFeatureDictionary); chooseGame.TestDecideOnGame(); }
private void button5_Click(object sender, EventArgs e) { DialogResult dr = _openFileDialog2.ShowDialog(); if (dr == DialogResult.OK) { // Read the files Program.readDistribConfigFile(_openFileDialog2.FileName); GenericDistribution chooseGame; chooseGame = new GenericDistribution(Program.LotteryFeatureDictionary); try { Program.gameDetails = chooseGame.TestDecideOnGame(); //loaded Config enable components UpdateTree(); } catch (InvalidOperationException exp) { MessageBox.Show("You did not load any configurations"); } } }