private void TxtAgentCode_ShowListEvent(object sender, ShowListEventArgs e) { FList aList = new FList(); aList.PickData().SetParam(ActionUtil.CRedirect, PickXTCS().SetValue("CATEGORYID", TxtParentAgent.Text).MyDS); aList.PickData().SetParam("彩咖网.客服中心.账号管理.代理列表"); if (aList.ShowViewDialog(this) == DialogResult.OK) { TxtParentAgent.Text = aList.SelectedRow["CATEGORYID"].ToString(); } }