private void посчитатьОпределителиToolStripMenuItem_Click(object sender, EventArgs e) { //Dictionary<string, DetansPair> elementsStringToDetansPairMap = new Dictionary<string, DetansPair>(); //foreach (Result res in elementsToResultDictionary.Values) // foreach (KeyValuePair<string, DetansPair> keyValue in res.elementNamesToDetansDictionary) // if (!elementsStringToDetansPairMap.ContainsKey(keyValue.Key)) // elementsStringToDetansPairMap.Add(keyValue.Key, keyValue.Value); DetansForm detansForm = new DetansForm(elementsStringToDetansMap, schemeForCalculations); detansForm.ShowDialog(); }
private void посчитатьОпределителиToolStripMenuItem_Click(object sender, EventArgs e) { //Dictionary<string, DetansPair> elementsStringToDetansPairMap = new Dictionary<string, DetansPair>(); //foreach (Result res in elementsToResultDictionary.Values) // foreach (KeyValuePair<string, DetansPair> keyValue in res.elementNamesToDetansDictionary) // if (!elementsStringToDetansPairMap.ContainsKey(keyValue.Key)) // elementsStringToDetansPairMap.Add(keyValue.Key, keyValue.Value); DetansForm detansForm = new DetansForm(elementsStringToDetansMap, schemeForCalculations); detansForm.ShowDialog(); }