Ejemplo n.º 1
0
        private void fillUsers()
        {
            lvDongles.Items.Clear();

            lvClients.Items.Clear();
            ResponceItem ri = _reqSend.ExecuteMethod(MethodName.GetClients);

            foreach (sClient cl in (ri.Value as sClient[]))
            {
                ListViewItem lvi = lvClients.Items.Add(cl.Organization);
                lvi.SubItems.Add(cl.ContactMan);
                lvi.SubItems.Add(cl.Money);
                lvi.SubItems.Add(cl.Address);
                lvi.SubItems.Add(cl.SAAS ? "SAAS" : "BOX");
                lvi.Tag = cl;
            }
        }