private void btnLists_Click(object sender, EventArgs e) { ListPicker lp = new ListPicker(); lp.SiteUrl = txturl.Text; SPList origList = _selList; SPList clone = (origList == null ? null : SPList.Clone(origList)); lp.SelectedList = clone; lp.settings = this.Settings; if (DialogResult.OK == lp.ShowDialog(this)) { _selList = lp.SelectedList; UpdateListInfo(); UpdateColInfo(); UpdateColButtons(); } }