Example #1
0
        public void AddClients(ArrayList clientlist)
        {
            try
            {
                //if((enabled) && (locked == false))
                {
                    for (int i = 0; i < clientlist.Count; i++)
                    {
                        ClientProfile profile = (ClientProfile)clientlist[i];
                        if (profile.ClientId == NetworkManager.getInstance().profile.ClientId)
                        {
                            continue;
                        }
                        PollingAnswer pa = new PollingAnswer();
                        //				// set the client parameters here
                        pa.clientId   = profile.ClientId;
                        pa.clientName = profile.Name;

                        this.AnswersList.Add(pa);
                    }
                }
            }
            catch (Exception exp)
            {
                WebMeeting.Client.ClientUI.getInstance().ShowExceptionMessage("Polling ===>Polling.cs @AddClients(ArrayList clientlist) line==> 128", exp, null, false);
            }
        }
Example #2
0
        public void AddClients(ArrayList clientlist)
        {
            try
            {
                //if((enabled) && (locked == false))
            {
                for(int i=0;i<clientlist.Count;i++)
                {
                    ClientProfile profile = (ClientProfile) clientlist[i];
                    if(profile.ClientId == NetworkManager.getInstance().profile.ClientId)
                        continue;
                    PollingAnswer pa=new PollingAnswer();
                    //				// set the client parameters here
                    pa.clientId = profile.ClientId;
                    pa.clientName = profile.Name;

                    this.AnswersList.Add(pa);
                }
            }
            }
            catch(Exception exp)
            {
                WebMeeting.Client.ClientUI.getInstance().ShowExceptionMessage("Polling ===>Polling.cs @AddClients(ArrayList clientlist) line==> 128",exp,null,false);
            }
        }