public void Initialize(frmMain _frmMain) { frmMainParent = _frmMain; cboSmTable.Items.Clear(); foreach (DataRow dr in StringMap.GetDistinctTable().Rows) { cboSmTable.Items.Add(dr["RegardingTable"].ToString()); } cboSmTable.SelectedIndex = 0; }