예제 #1
0
        private void button1_Click(object sender, System.EventArgs e)
        {
            SharedPoolResult=true;

            WebMeeting.Common.PollResultsMessage pMsg = new WebMeeting.Common.PollResultsMessage();
            pMsg.answersList = 	polling.AnswersList;
            pMsg.choices= polling.choices;
            pMsg.strQuestion = polling.question;
            pMsg.sessionID = polling.sessionID;
            pMsg.anonymous = polling.anonymous;
            pMsg.type= polling.thisPollType;
            pMsg.isShow=true;

            pMsg.senderProfile = WebMeeting.Client.NetworkManager.getInstance().profile;
            pMsg.SenderID = WebMeeting.Client.NetworkManager.thisInstance.profile.ClientId;
            WebMeeting.Client.NetworkManager.getInstance().SendLoadPacket(pMsg);
        }
예제 #2
0
        public void SendCloseMessage()
        {
            try
            {
                WebMeeting.Common.PollResultsMessage pMsg = new WebMeeting.Common.PollResultsMessage();
                pMsg.answersList = 	polling.AnswersList;
                pMsg.choices= polling.choices;
                pMsg.strQuestion = polling.question;
                pMsg.sessionID = polling.sessionID;
                pMsg.anonymous = polling.anonymous;
                pMsg.type= polling.thisPollType;
                pMsg.isShow=false;

                pMsg.senderProfile = WebMeeting.Client.NetworkManager.getInstance().profile;
                pMsg.SenderID = WebMeeting.Client.NetworkManager.thisInstance.profile.ClientId;
                WebMeeting.Client.NetworkManager.getInstance().SendLoadPacket(pMsg);
            }
            catch (Exception exp)
            {
                WebMeeting.Client.ClientUI.getInstance().ShowExceptionMessage("Polling ===>PollResult.cs @SendCloseMessage() line==> 1809",exp,null,false);
            }
        }