private void btnAgent_Click(object sender, EventArgs e) { if (txtAgent.Tag == null) { txtAgent.Tag = 0; } ReferenceCycleList list = new ReferenceCycleList(); list.ReadOnly = true; list.Id = (int)txtAgent.Tag; list.initList(); list.ShowDialog(); txtAgent.Tag = list.Id; txtAgent.Text = AgentBL.getAgentName(list.Id); }
private void mnuAgent_Click(object sender, EventArgs e) { ReferenceCycleList list = new ReferenceCycleList(); list.ShowDialog(); }