private void btnSettingH_Click(object sender, EventArgs e) { if (listTemp.Count() == 0 && listProcess.Count() == 0) { GetDataNSTV.GetNoNSTV(listTemp, cmbModelH.Text); } SettingForm stForm = new SettingForm(); stForm.Model = cmbModelH.Text; stForm.listTemp = listTemp; stForm.listprocess = listProcess; if (stForm.ShowDialog() == DialogResult.OK) { flpnlYeildShowH.Controls.Clear(); listProcess = stForm.listprocess; listTemp = stForm.listTemp; foreach (string name in stForm.listprocess) { AddCellsH(name); } } }
private void cmbModelH_SelectedIndexChanged(object sender, EventArgs e) { GetDataNSTV.GetNoNSTV(listTemp, cmbModelH.Text); }