Esempio n. 1
0
 public void UpdateGroupAllMember()
 {
     if (this.GroupMemberControl != null)
     {
         this.ChatComponent.PanelChangeContent.Children.Remove(this.GroupMemberControl);
     }
     this.GroupMemberControl = new GroupMemberControl(this.group);
     this.ChatComponent.PanelChangeContent.Children.Add(this.GroupMemberControl);
 }
Esempio n. 2
0
        private void InitUI()
        {
            this.GroupMemberControl = new GroupMemberControl(this.group);
            this.GroupMemberControl.UpdateGroupStaffCount(this.GetGroupMemberOnlineCount(), this.GetGroupMemberTotalCount());
            this.ChatComponent.PanelChangeContent.Children.Add(this.GroupMemberControl);
            this.ChatComponent.PanelChangeContent.Children.Add(this.FileList);
            this.ChatComponent.btnShake.Visibility = Visibility.Collapsed;
            this.userHead.ImageSource = this.imageService.GetEntGroupImage40();
            this.ShowGroupMemberControl();
            string groups = Settings.Default.ShieldGroups;

            if (groups.IndexOf("#" + this.group.Gid + ";") != -1)
            {
                this.ChatComponent.menuShield.IsChecked = true;
            }
        }
 private void InitUI()
 {
     this.GroupMemberControl = new GroupMemberControl(this.group);
     this.GroupMemberControl.UpdateGroupStaffCount(this.GetGroupMemberOnlineCount(), this.GetGroupMemberTotalCount());
     this.ChatComponent.PanelChangeContent.Children.Add(this.GroupMemberControl);
     this.ChatComponent.PanelChangeContent.Children.Add(this.FileList);
     this.ChatComponent.btnShake.Visibility = Visibility.Collapsed;
     this.userHead.ImageSource = this.imageService.GetEntGroupImage40();
     this.ShowGroupMemberControl();
     string groups = Settings.Default.ShieldGroups;
     if (groups.IndexOf("#" + this.group.Gid + ";") != -1)
     {
         this.ChatComponent.menuShield.IsChecked = true;
     }
 }
 public void UpdateGroupAllMember()
 {
     if (this.GroupMemberControl != null)
     {
         this.ChatComponent.PanelChangeContent.Children.Remove(this.GroupMemberControl);
     }
     this.GroupMemberControl = new GroupMemberControl(this.group);
     this.ChatComponent.PanelChangeContent.Children.Add(this.GroupMemberControl);
 }