public string ShowComboBoxList(string strCode, string strText) { FrmComboBoxList fcb = new FrmComboBoxList(strCode, strText); if(fcb.ShowDialog() == DialogResult.OK) { return fcb.strResult; } else { return strText; } }
public string ShowComboBoxList(string strCode, string strText) { FrmComboBoxList fcb = new FrmComboBoxList(strCode, strText); if (fcb.ShowDialog() == DialogResult.OK) { return(fcb.strResult); } else { return(strText); } }