Exemplo n.º 1
0
 private void _onLineInfo_AddOnLine(object sender, OnlineEventArgs e)
 {
     this.InvokeOnUiThreadIfRequired(() =>
     {
         AddUserList(e.OnLines);
     });
 }
Exemplo n.º 2
0
        public void OnNewUserLoginIn(IList <OnlineListResult> onLineList)
        {
            AddNewOnLine(onLineList[0]);
            GlobalVariable.RefreshTeamMember(onLineList[0].username, true);
            OnlineEventArgs e = new OnlineEventArgs(onLineList);

            AddOnLine(this, e);
        }
Exemplo n.º 3
0
        public void OnOnlineChange(IList <OnlineListResult> onLineList)
        {
            this.OnLineList = onLineList;
            LoginedStuList  = onLineList.Where(d => d.clientRole == ClientRole.Student).ToList();;
            OnlineEventArgs e = new OnlineEventArgs(onLineList);

            OnLineChange(this, e);
        }
Exemplo n.º 4
0
 private void OnlineInfo_OnLineChange1(object sender, OnlineEventArgs e)
 {
     this.InvokeOnUiThreadIfRequired(() => userListShow(e.OnLines));
 }
Exemplo n.º 5
0
 private void OnlineInfo_AddOnLine(object sender, OnlineEventArgs e)
 {
     this.InvokeOnUiThreadIfRequired(() => AddOnlineUser(e.OnLines));
 }