public AgentForm(int id) { _id = id; InitializeComponent(); _AgentBL = new AgentBL(); init(); }
public AgentForm(int id, bool readOnly) { _id = id; _readOnly = readOnly; InitializeComponent(); _AgentBL = new AgentBL(); init(); }
public ReferenceCycleList() { _gridTools = new GridTools(); InitializeComponent(); _AgentBL = new AgentBL(); checkPerm(); initList(); }
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); }